* Denormalized post versions. Testing has shown it reduces the size

of the table 66%.
This commit is contained in:
albert
2010-11-04 18:17:03 -04:00
parent d0d3487fc8
commit 551c25909c
9 changed files with 157 additions and 114 deletions

View File

@@ -34,7 +34,7 @@ class DateTag
end
def next_week
DateTag.new_from_range(1.week.since(start_date)), 1.week.since(end_date)
DateTag.new_from_range(1.week.since(start_date), 1.week.since(end_date))
end
def previous_month
@@ -42,7 +42,7 @@ class DateTag
end
def next_month
DateTag.new_from_range(1.month.since(start_date)), 1.month.since(end_date)
DateTag.new_from_range(1.month.since(start_date), 1.month.since(end_date))
end
def date