fix syntax in comment.rb

This commit is contained in:
danielgrippi 2012-02-09 18:29:52 -08:00 committed by Maxwell Salzberg
parent 2c041701ea
commit 24e37cf32b
2 changed files with 1 additions and 2 deletions

View file

@ -33,7 +33,7 @@ class Comment < ActiveRecord::Base
alias_attribute :post, :commentable
belongs_to :author, :class_name => 'Person'
validates :text, :presence => true, :maximum => 65535, :message => I18n.t('status_messages.too_long', :count => 65535)
validates :text, :presence => true, :length => {:maximum => 65535}
validates :parent, :presence => true #should be in relayable (pending on fixing Message)
scope :including_author, includes(:author => :profile)

View file

@ -409,7 +409,6 @@ ul.as-selections
.stream_element
a.author
:color inherit
:font-weight bold
.photo_attachments