class Status < ActiveRecord::Base
belongs_to :account, inverse_of: :statuses
validates :account, presence: true
def verb
:post
end
def object_type
:note
def content
self.text
def title
content.truncate(80, omission: "...")
after_create do
self.account.stream_entries.create!(activity: self)