Class: Post

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
SocialStream::Models::Object
Defined in:
app/models/post.rb

Constant Summary collapse

MAXIMUM_LENGTH =
140

Instance Method Summary collapse

Instance Method Details

#titleObject



13
14
15
# File 'app/models/post.rb', line 13

def title
  description.truncate(30, :separator =>' ')
end