From 24e37cf32b3be3b72c8c14a729e551b7f5cb616e Mon Sep 17 00:00:00 2001 From: danielgrippi Date: Thu, 9 Feb 2012 18:29:52 -0800 Subject: [PATCH] fix syntax in comment.rb --- app/models/comment.rb | 2 +- public/stylesheets/sass/application.sass | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/models/comment.rb b/app/models/comment.rb index 79af5d1d0..b4e42f929 100644 --- a/app/models/comment.rb +++ b/app/models/comment.rb @@ -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) diff --git a/public/stylesheets/sass/application.sass b/public/stylesheets/sass/application.sass index 7f26ed01a..b5cb8422c 100644 --- a/public/stylesheets/sass/application.sass +++ b/public/stylesheets/sass/application.sass @@ -409,7 +409,6 @@ ul.as-selections .stream_element a.author - :color inherit :font-weight bold .photo_attachments