So we’ve upgraded to Rails 1.2.1, and are getting deprecation warnings
about “model”. We have a single occurrence in our application.rb, put
there by the login_generator (the documentation for which still, BTW,
suggests that a model declaration needs to be added to application.rb).
So what should we replace it with? Is there any documentation anywhere?
I’ve searched and all that I can find are lists of what’s deprecated.
The warning refers us to http://www.rubyonrails.org/deprecation but, it
would be fair to say, that page is somewhat unhelpful
I notice that I’m not the first person to ask this question, but there
doesn’t seem to be a definitive answer to any of the previous queries
either:
http://www.ruby-forum.com/topic/82066
http://www.ruby-forum.com/topic/88545
Thanks in advance for your help,
Paul.