public
Description: The open source social networking platform in Ruby on Rails from the author of RailsSpace
Homepage: http://insoshi.com
Clone URL: git://github.com/insoshi/insoshi.git
Increased upper limit on wall comments
Michael Hartl (author)
Wed May 21 18:38:55 -0700 2008
commit  8b10cc80d928deea073f9858bdf69161e1e8d528
tree    a95cd1ad5171471c6c420df1243e2454061a429c
parent  9e05e6b3e8b63896da3a68414974c1b03a349519
...
29
30
31
32
 
33
34
35
...
29
30
31
 
32
33
34
35
0
@@ -29,7 +29,7 @@ class Comment < ActiveRecord::Base
0
 
0
   validates_presence_of :body, :commenter
0
   validates_length_of :body, :maximum => MAX_TEXT_LENGTH
0
- validates_length_of :body, :maximum => SMALL_TEXT_LENGTH,
0
+ validates_length_of :body, :maximum => MEDIUM_TEXT_LENGTH,
0
                              :if => :wall_comment?
0
   
0
   after_create :log_activity, :send_receipt_reminder

Comments

    No one has commented yet.