Extending Rails classes

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

Any suggestions would be appreciated!


Be sure to require the file in environment.rb