What is the lib/ folder in my rails app for?

hi all,

When I generate a rails app, there is a lib/ folder underneath it. Now
what is exactly this lib/ folder for? When I put the rack library
there, it is not scanned by RoR. Actually to expand this matter, I
want to be able to put non-Rails plugin to be available for Rails and
my app (e.g including rack, arel etc). But it seems RoR does not scan
it. So what is it exactly for?

Kind regards.


Certified Scrum Master
http://blog.scrum8.com | http://jobs.scrum8.com |
http://twitter.com/scrum8

On Tue, Oct 20, 2009 at 3:26 AM, Joshua P.
[email protected]wrote:

Kind regards.


Certified Scrum Master
http://blog.scrum8.com | http://jobs.scrum8.com |
http://twitter.com/scrum8

Joshua, I would recommend reading p. 225 - 226 of “Agile Web D.
with
Rails 3rd”.

-Conrad

I think Conrad meant pages 255-256. Simply put, lib/ is where you put
code (or subdirectories with code) that does not normally live in
models, views, or controllers.