Merge pull request #300 from goshakkk/cleanup

Minor cleanup, using AR querying DSL over raw SQL in some places
This commit is contained in:
Robin Ward
2013-03-01 07:52:34 -08:00
41 changed files with 230 additions and 341 deletions

View File

@ -162,4 +162,7 @@ class SiteSetting < ActiveRecord::Base
min_topic_title_length..max_topic_title_length
end
def self.post_length
min_post_length..max_post_length
end
end