Class: ChangeLog
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- ChangeLog
- Defined in:
- lib/app/models/change_log.rb
Instance Method Summary collapse
Instance Method Details
#value ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/app/models/change_log.rb', line 5 def value # TODO find out if this is the best way to loan an attribute that may # or may not be yaml begin YAML.load(self.new_value) rescue self.new_value end end |