Skip to content

AR Scopes, after_initialize

Choose a tag to compare

@appleton appleton released this 27 Mar 14:29
· 744 commits to master since this release

Additions

  • Scope methods. Adds a module which can be mixed in to an ActiveRecord model to provide .in_state and .not_in_state query scopes.
  • Adds Machine#after_initialize hook (patch by @att14)

Fixes

  • Added MongoidTransition to the autoload statements, fixing #29 (patch by @tomclose)