lib/softwear/lib.rb in softwear-lib-0.0.5 vs lib/softwear/lib.rb in softwear-lib-0.0.6
- old
+ new
@@ -101,7 +101,11 @@
sorted.each(&self.method(:<<))
end
end
end
end
+
+ def self.fix_state_machine_around_validation
+ StateMachine::Integrations::ActiveModel.instance_eval { public :around_validation }
+ end
end
end