todd (at snappl)
Not a member
todd (at snappl)'s latest activity
Wednesday, February 04 2009
4
example code fails
was updated
in AASM
-
todd (at snappl) commented at 2:27 PMSorry, disregard that last comment (at least most of it): @user.pending? .active? etc. are working. I was being stoopid.
Would still like to see a default colum...
-
todd (at snappl) commented at 2:19 PMGot it. I froze the gem in to vendor/gems and added:
aasm_column :state
(surely that's the default)
to my model. However, @user.current_state does not work, it ...
-
todd (at snappl) commented at 2:09 PMOh, yeah, forgot, if I add
aasm_state :pending
to the User model, nothing happens, same error.
-
todd (at snappl) commented at 2:04 PMI'm getting this as well.
In my environment.rb:
require 'aasm'
Rails::Initializer.run do |config| ... config.gem "rubyist-aasm", :lib => "aasm", :source => "htt...