Forum: Ruby on Rails Updating Rails app from 1.2.6 to 2.2.2

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
6ec1e89eef5ce09fbfa56be5b6dd17b5?d=identicon&s=25 Adam Bloom (admanb)
on 2009-01-06 01:44
(Received via mailing list)
Hey all,

Is there any information out there for updating a pre-2.0 rails app?

The problem I'm running into right now has to do with the user system
I'm running, which was originally installed as an engine. When I try
to run it now I get this error:

/listings/vendor/plugins/login_engine/lib/login_engine.rb:14:
undefined method `config' for LoginEngine:Module (NoMethodError)

I expect the solution is fairly simple, but I'm lost as to how to go
about finding it.

-Adam
B14575f0ca69f10938fdd67e7156e0e1?d=identicon&s=25 Craig Demyanovich (Guest)
on 2009-01-06 02:12
(Received via mailing list)
I don't know about engines (I started w/ Rails after they fell out of
style), but the general advice I recall reading is that you should
upgrade a
little at a time. For example, say you're on 1.2.3. You'd upgrade to to
1.2.6. Once you're running well there, you could go to the latest 2.0.x
release, 2.0.5. Then repeat the process to go to 2.1.2 and then to 2.2.2
or
as far as you want to go.

Regards,
Craig
This topic is locked and can not be replied to.