pluginaweek / state_machine

Adds support for creating state machines for attributes on any Ruby class
http://www.pluginaweek.org
MIT License
3.74k stars 507 forks source link

Fixed after_transition with mongoid master (4.0) #280

Closed aganov closed 8 years ago

aganov commented 11 years ago

This problem is described in #277

rafmagana commented 10 years ago

Please, merge this!

PavelNartov commented 10 years ago

Really, guys - I've put this fix to config/initializers/fix_mongoid_integration.rb - and after_transtion (around_transtion too) works.

Please, merge this.

jmuheim commented 10 years ago

:+1:

neckhair commented 10 years ago

:+1:

toothrot commented 10 years ago

:+1:

timstott commented 10 years ago

:+1:

toothrot commented 10 years ago

We've tested this, and it works great for us.

localredhead commented 10 years ago

+1 please

pedrocarrico commented 9 years ago

:+1:

JSFernandes commented 9 years ago

:+1:

sos4nt commented 9 years ago

@obrie would you merge this, please? It's crucial for Rails 4 / Mongoid 4.

vitalis commented 9 years ago

:+1:

aganov commented 9 years ago

This fork is active: https://github.com/state-machines/state_machines-mongoid