Source

demo_app / app / models / micropost.rb

Full commit
1
2
3
class Micropost < ActiveRecord::Base
  validates :content, :length =>{:maximum => 140}
end