Project

General

Profile

Download (212 Bytes) Statistics
| Branch: | Tag: | Revision:
class Message < ActiveRecord::Base
has_many :reports, :through => :logs
has_many :logs
validates_presence_of :value

def to_s
value
end

def as_json(options={})
{:message => value }
end
end
(30-30/54)