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.

2 Responses to “Restful Authentication plugin and AASM”

  1. Julian Schrader Says:

    Thanks a bunch!

  2. Gavin Laking Says:

    Thanks matey!

Leave a Reply