Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

todd (at snappl)'s latest activity

Wednesday, February 04 2009
4 example code fails was updated in AASM
  • todd (at snappl)
    todd (at snappl) commented at 2:27 PM

    Sorry, 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)
    todd (at snappl) commented at 2:19 PM

    Got 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)
    todd (at snappl) commented at 2:09 PM

    Oh, yeah, forgot, if I add

    aasm_state :pending

    to the User model, nothing happens, same error.

  • todd (at snappl)
    todd (at snappl) commented at 2:04 PM

    I'm getting this as well.

    In my environment.rb:

    require 'aasm'

    Rails::Initializer.run do |config| ... config.gem "rubyist-aasm", :lib => "aasm", :source => "htt...