# Acts\_as outside of Rails

**URL:** <https://www.ruby-forum.com/t/acts-as-outside-of-rails/136424>\
**Category:** Rails\
**Created:** [May 1, 2008, 11:09pm UTC](https://www.ruby-forum.com/t/acts-as-outside-of-rails/136424 "2008-05-01T23:09:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![smurfherder](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a88e57/32.png) [@smurfherder](https://www.ruby-forum.com/u/smurfherder)\
**Post date:** [May 1, 2008, 11:09pm UTC](https://www.ruby-forum.com/t/acts-as-outside-of-rails/136424/1 "2008-05-01T23:09:45Z")

</div>

I want to use acts\_as plugins that work with active\_record outside of  
rails as well as with rails. AR got installed as a gem, but since  
2.0.x it ships without the old standard acts\_as\_list,  
acts\_as\_nested\_set, etc. How do I use these outside of rails? More  
specifically, how do I install them, since AFAIK they are plugins for  
rails, not AR.

Any help appreciated!

-sh

---

<div class="post-metadata">

**Author:** ![smurfherder](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a88e57/32.png) [@smurfherder](https://www.ruby-forum.com/u/smurfherder)\
**Post date:** [May 1, 2008, 11:12pm UTC](https://www.ruby-forum.com/t/acts-as-outside-of-rails/136424/2 "2008-05-01T23:12:40Z")

</div>

On 1 May 2008, at 19:05, smurfherder wrote:

> I want to use acts\_as plugins that work with active\_record outside of  
> rails as well as with rails. AR got installed as a gem, but since  
> 2.0.x it ships without the old standard acts\_as\_list,  
> acts\_as\_nested\_set, etc. How do I use these outside of rails? More  
> specifically, how do I install them, since AFAIK they are plugins for  
> rails, not AR.

Plugins are simple things. Make sure the plugin’s lib folder is on the  
LOAD\_PATH and eval the plugin’s init.rb (if there is one).

Fred
