public
Fork of insoshi/insoshi
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/trentono/insoshi.git
Increased the MAX_TEXT_LENGTH
Michael Hartl (author)
Tue Apr 29 18:33:58 -0700 2008
commit  a1578f52da3de871b8861d9398c1998908d11086
tree    8cec2d0ebbd8ebc427017e138d8e7b8b35f065f9
parent  6edd7ce5c1f1cfacc2855d6a53bff59e1a77dbc5
...
18
19
20
21
 
22
23
24
...
18
19
20
 
21
22
23
24
0
@@ -18,7 +18,7 @@
0
 class BlogPost < Post
0
   
0
   MAX_TITLE = SMALL_STRING_LENGTH
0
- MAX_BODY = MEDIUM_TEXT_LENGTH
0
+ MAX_BODY = MAX_TEXT_LENGTH
0
   
0
   belongs_to :blog
0
   has_many :comments, :as => :commentable, :order => :created_at
...
8
9
10
11
 
12
13
14
...
8
9
10
 
11
12
13
14
0
@@ -8,7 +8,7 @@ MAX_STRING_LENGTH = 255
0
 MEDIUM_STRING_LENGTH = 70
0
 SMALL_STRING_LENGTH = 40
0
 
0
-MAX_TEXT_LENGTH = 1000
0
+MAX_TEXT_LENGTH = 2000
0
 MEDIUM_TEXT_LENGTH = 500
0
 SMALL_TEXT_LENGTH = 300
0
 

Comments

    No one has commented yet.