mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-15 07:36:41 +10:00
Add a state_machine patch for rails 4.1.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# This is a patch to address the issue in https://github.com/pluginaweek/state_machine/issues/251
|
||||
# where gem 'state_machine' was not working for Rails 4.1
|
||||
module StateMachine
|
||||
module Integrations
|
||||
module ActiveModel
|
||||
public :around_validation
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user