Restful Authentication plugin and AASM
I recently installed the Restful Authentication plugin on my Rails project and when I tried to use it in my specs, got this error:
/usr/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/dependencies.rb:276:in `load_missing_constant’: uninitialized constant Authorization::AasmRoles::AASM (NameError)
Turns out, I just needed to install the AASM plugin:
script/plugin install git://github.com/rubyist/aasm.git
Not sure if I missed that in the instructions or what.
May 27th, 2009 at 2:20 am
Thanks a bunch!
January 28th, 2010 at 7:24 am
Thanks matey!