On Nov 12, 8:18 pm, Fritz Anderson <[EMAIL PROTECTED]>
wrote:
> Frederick Cheung wrote:
> > use require_dependency instead of require (and i would do this at the
> > top of the location model, not in the controller)
>
> This was exactly what I needed. Thank you.
>
> It's too bad that Pickaxe (2nd ed) and Agile Web Development with Rails
> (2nd ed) didn't mention require_dependency. Can anyone recommend a
> reference that would have included it?
>
Well it's a rails only thing so the Pickaxe would never cover it and
it's also a bit of slightly hairy internal stuff. "Luke, Use the
source!"

Fred
>     — F
> --
> Posted viahttp://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