increased page limits for gold+platinum users
This commit is contained in:
@@ -6,7 +6,7 @@ class TagSubscription < ActiveRecord::Base
|
|||||||
before_save :limit_tag_count
|
before_save :limit_tag_count
|
||||||
attr_accessible :name, :tag_query, :post_ids, :is_public, :is_visible_on_profile
|
attr_accessible :name, :tag_query, :post_ids, :is_public, :is_visible_on_profile
|
||||||
validates_presence_of :name, :tag_query, :creator_id
|
validates_presence_of :name, :tag_query, :creator_id
|
||||||
validates_format_of :tag_query, :with => /^(?:\S+\s*){1,20}$/, :message => "can have up to 20 tags"
|
validates_format_of :tag_query, :with => /^(?:\S+\s*){1,20}$/m, :message => "can have up to 20 tags"
|
||||||
validate :creator_can_create_subscriptions, :on => :create
|
validate :creator_can_create_subscriptions, :on => :create
|
||||||
|
|
||||||
def normalize_name
|
def normalize_name
|
||||||
|
|||||||
@@ -43,6 +43,12 @@
|
|||||||
<td>20,000</td>
|
<td>20,000</td>
|
||||||
<td>Unlimited</td>
|
<td>Unlimited</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Page Limit</td>
|
||||||
|
<td>1,000</td>
|
||||||
|
<td>2,000</td>
|
||||||
|
<td>5,000</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Tag Subscriptions</td>
|
<td>Tag Subscriptions</td>
|
||||||
<td>No</td>
|
<td>No</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user