Do non-AR models reload in development?

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?

–Ryan

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.

Cheers-

-Ezra Z.
WebMaster
Yakima Herald-Republic Newspaper
[email protected]
509-577-7732

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs