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.
E37ca8b3eee534fa6781f7ba13743afb?d=identicon&s=25 Ryan Wood (Guest)
on 2006-01-23 03: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?

6076c22b65b36f5d75c30bdcfb2fda85?d=identicon&s=25 Ezra Zygmuntowicz (Guest)
on 2006-01-23 04:04
(Received via mailing list)
On Jan 22, 2006, at 6:43 PM, Ryan Wood 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 Zygmuntowicz
Yakima Herald-Republic Newspaper
This topic is locked and can not be replied to.