Update README.md

The first parameter of initialize needs to be a class not an object instance.
Add translation to readme
Improve doc on AR integration

clarify that changes to the record made before the transition will be saved, but those in an after_transition callback not :)
Silence uneccessary warning with default state with value
ActiveModel#around_validation moved out of protected
Merge https://github.com/gitorious/state_machine
 Improve doc on AR integration

clarify that changes to the record made before the transition will be saved, but those in an after_transition callback not :)
Add translation to readme
Merge https://github.com/jzinedine/state_machine
Update base.rb
hack for state_machine/rails-4.2 compatibility

state_machine overrides `column_defaults` but as of rails 4.2 it
needs to override `default_attributes` to get the same behaviour.

Ideally we need to figure a less hacky / dangerous way to set default
initial states for the machine.

current rails edge / rails 4.1.6:

https://github.com/rails/rails/blob/c4767e13d4ae927e6d605cad3846c9807745b883/activerecord/lib/active_record/core.rb#L264
https://github.com/rails/rails/blob/v4.1.6/activerecord/lib/active_record/core.rb#L186
Update the default attributes method name to match Rails 4.2.0.rc3
Merge branch 'master' of github.com:seuros/state_machine