Class: Approvable::ChangeRequest
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Approvable::ChangeRequest
- Includes:
- AASM
- Defined in:
- app/models/approvable/change_request.rb
Instance Method Summary collapse
Instance Method Details
#transition_options(options = {}) ⇒ Object
43 44 45 46 47 48 |
# File 'app/models/approvable/change_request.rb', line 43 def ( = {}) note = [:note] if self.notes_will_change! if note self.notes ||= {} self.notes[Time.now.to_s] = note if note end |