How does the lib folder work in Rails 3?

In Rails 2.x you would add require statements in application.rb, fx:

/lib
  blip.rb

# blip.rb
puts "BLIP"

# application.rb
...
require 'blip'
---

But using the same approach doesn't work in Rails 3. How do I
configure this so that blip.rb is loaded when I start Rails, fx using
$ rails s ?

Haven't been able to find any info on this in the blogosphere...

Thanks!

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en.

Reply via email to