Forum: Ruby on Rails Do non-AR models reload in development?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Ryan W. (Guest)
on 2006-01-23 04:51
(Received via mailing list)
When working in development mode, do non-AR models reload? I'm not
seeing changes I make reflected in the app unless I restart webrick,
so I'm assuming the answer is no. How would get these model objects to
reload just as their AR decendant brothers and sisters do?

Ezra Z. (Guest)
on 2006-01-23 05:04
(Received via mailing list)
On Jan 22, 2006, at 6:43 PM, Ryan W. wrote:

No they don't get reloaded on each request you have to restart. Or
you can use require_dependency 'mymodel' to make them reload after
each request.


-Ezra Z.
Yakima Herald-Republic Newspaper
This topic is locked and can not be replied to.