Forum: Ruby on Rails How to install plugin: active_record_extensions.rb?

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.
74ba9c207c0b60aa996fbc7db1c28cf9?d=identicon&s=25 Carmine Moleti (carminem)
on 2007-02-19 08:16
Hi to everyone,

I'm working through the pragmatic programmer's book, and I'm stuck at
the point where it's
needed to installa a plugin in the "Web 2.0" chapter (page 527).
The plugin is: active_record_extensions.rb and is found at:

I've tried with the "script/plugin install" way without luck.
Also tried to download the file and put manually under
/vendor/plugins/... path.

Is there anything I could do?

Thanks for your help
Db303dc84d03a992b33cd3ac978f89ae?d=identicon&s=25 Benjamin Curtis (Guest)
on 2007-02-19 14:16
(Received via mailing list)
You can put the file in lib/ and add "require
'active_record_extensions'" to config/environment.rb.  The code will
be loaded when you restart the server.

If you wanted to install the full plugin, you would do this:
script/plugin install svn://

Building an e-commerce site with Rails?

Meet up at RailsConf:
74ba9c207c0b60aa996fbc7db1c28cf9?d=identicon&s=25 Carmine Moleti (carminem)
on 2007-02-19 21:37
Hello Benjamin,

Thanks for your help!
I put the extension under the "lib" directory as you suggested and it
sort of works :)
"Sort of" because it doesn't complain anymore about the missing
extensions, still it doesn't
behave "as advertised". This, I am sure, is my fault :)

This topic is locked and can not be replied to.