Instance method "lock!" is already defined (since update to 7.0)
Created by: patschi
Since I updated my GitLab installation to the latest version 7.0 I'm getting this error when executing for example the info command ("sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production")
Instance method "lock!" is already defined in ActiveRecord::Base, use generic helper instead or set StateMachine::Machine.ignore_method_conflicts = true.