I wanted to help out a open source project by migrating from 3 to 3.1
But I have never had to migrate a large project before so I am looking for some advise ?
this is the project – https://github.com/locomotivecms/engine
Thanks, Alex
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
here it is an “almost working” locomotivecms code, migrated on rails 3.1:
https://github.com/lgs/engine/tree/rails-3.1
… it is not ready for pull request,
infact it miss to replace /images/ whith /assets/ in all the relative path …,
anyway it start and stay up (despite many “DEPRECATION WARNING”), on rails 3.1 server:
Rails console works fine as well :
This is the guide I followed during my try :
http://davidjrice.co.uk/2011/05/25/how-to-upgrade-a-rails-application-to-version-3-1-0.html
UPDATE:
“Cannot modify SafeBuffer in place” error resolved
UPDATE jun 23 11:
resolved “ArgumentError (wrong number of arguments (4 for 3))” adding options param (the fourth) to set_session into lib/locomotive/session_store.rb b/lib/locomotive/session_store.rb
Thanks to Nicholas Hubbard previous answer.