Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/jgarcia/party-town
Browse files Browse the repository at this point in the history
  • Loading branch information
EbhlingDiaz committed May 19, 2012
2 parents 6544274 + fd4cdf7 commit fd01477
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/models/user.rb
Expand Up @@ -8,4 +8,7 @@ class User < ActiveRecord::Base
# Setup accessible (or protected) attributes for your model
attr_accessible :email, :password, :password_confirmation, :remember_me
# attr_accessible :title, :body
#
validates_presence_of :title, :hashtag
validates_uniqueness_of :title
end

0 comments on commit fd01477

Please sign in to comment.