Acts_as outside of Rails

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

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs