On 11 Nov 2008, at 21:36, Fritz Anderson wrote:
>
> The alternative, I think, is to have locations_controller.rb require
> 'person', but that gives me problems with reloading in development  
> mode.
>
use require_dependency instead of require (and i would do this at the  
top of the location model, not in the controller)

Fred
> What should I do?
>
> $ ruby --version
> ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0]
> $ rails --version
> Rails 1.2.6
> -- 
> Posted via http://www.ruby-forum.com/.
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to