RE: Extending Rails classes


#1

You might want to consider creating a plugin, depending on how you plan
to use it. When I have needed to change how things work, I have done
that.

If you put things in your lib folder, you’ll need to require them in
environment.rb

Plugins are included automatically. That’s why I use them.