app/models/message_request.rb in enju_message-0.2.3 vs app/models/message_request.rb in enju_message-0.2.4

- old
+ new

@@ -12,10 +12,10 @@ validates_presence_of :sender, :receiver, :message_template validates_presence_of :body, on: :update paginates_per 10 - has_many :message_request_transitions + has_many :message_request_transitions, autosave: false def state_machine @state_machine ||= MessageRequestStateMachine.new(self, transition_class: MessageRequestTransition) end