Changeset [ff1f9fbd5e5d24d86adcb83884d4537aee1f6cd3] by Travis Tilley

September 13th, 2010 @ 12:02 AM

make the NamedScopeMethods test -actually- test that the scope was defined, and fix the silently broken logic for defining scopes in rails 2.x
http://github.com/rubyist/aasm/commit/ff1f9fbd5e5d24d86adcb83884d45...

Committed by Travis Tilley

  • M lib/aasm/persistence/active_record_persistence.rb
  • M spec/unit/active_record_persistence_spec.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Library for adding state machines to Ruby classes. Includes persistence layers for things like ActiveRecord. Formerly known as acts_as_state_machine.