Do non-AR models reload in development?


#1

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


#2

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
removed_email_address@domain.invalid
509-577-7732