On 25 Mar 2009, at 16:11, Bharat Ruparel wrote:
>
> Question is: what is the significance of the "lib" directory then in a
> Rails environment?  If it just gets added in the Rails load path and
> nothing else then it leaves me scratching my head.  Either don't put  
> in
> the load path automatcially or if we do then load whatever is in there
> automatically too.  Don't you think Rails is at odds with itself here?
>

Except for the production mode stuff, nothing gets loaded  
automatically (the const_missing hook can make it seem that way  
though. The difference with a file like the one you had is that there  
isn't a top level constant one would naturally refer to)

Fred

> Bharat
> -- 
> 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 [email protected]
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