Forum: Ruby on Rails Extending Rails classes

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Brasten S. (Guest)
on 2006-02-08 23:14
(Received via mailing list)
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!

Pat M. (Guest)
on 2006-02-08 23:37
(Received via mailing list)
Be sure to require the file in environment.rb
This topic is locked and can not be replied to.