Extending Rails classes


#1

Whereabouts would I want to put a Ruby file that extends a Rails class?
Say, adding a method to ActiveRecord::Base or something along those
lines. I’ve read that those classes go in /lib, but my application
doesn’t seem to see the changes I’ve made. Obviously I’m missing
something…

Any suggestions would be appreciated!

-Brasten


#2

Be sure to require the file in environment.rb