Thanks Walter and Jim for your feedback. The Railsconf talk was indeed 
informative, although we are still leaning against an upgrade path and are 
more likely to choose a rewrite-based approach. Jim, I hadn't thought about 
the flash, so thanks for pointing that out. I think we can probably manage 
by limiting flash feedback to one site or the other. We might have to make 
some workflows slightly more complicated for that to work.

Russ

On Friday, January 31, 2014 5:11:33 AM UTC-8, Jim wrote:
>
> On Thursday, January 30, 2014 4:13:58 PM UTC-5, Russ S wrote:
>
>> So, we are searching for creative solutions to the upgrade problem. One 
>> idea is to start rewriting the application in Rails 4 and run it alongside 
>> the Rails 1 application. As features are added to the Rails 4 version, the 
>> same feature in the Rails 1 version could be taken offline. Users would see 
>> a mix of the two versions. Some pages would be served by Rails 1 and others 
>> by Rails 4.
>>
>> This would require both the Rails 1 and Rails 4 versions to use the same 
>> database.
>>
>> So my question is, will this work? What problems with this approach 
>> should we be anticipating? We know it isn't a perfect solution, but we're 
>> hoping it's good enough to drive the project forward.
>>
>
> The thing to consider most carefully is how you will be able to run the 
> single website from two different rails apps.  Things like linking between 
> them, sharing authentication, session variables like session and flash, 
> stuff like that.  Databases are inherently multi-user systems so you're not 
> so likely to run into problems with the database itself unless you are 
> using sqlite, although I'm not so familiar with Rails 1 ActiveRecord 
> mechanisms anymore.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/d9c59331-519d-4685-9c51-7f02437659b8%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to