Permalink
Browse files

Pass options to between from by_year_Time

  • Loading branch information...
radar committed Feb 17, 2012
1 parent 03d859f commit 616e3502993259700cabb2fdb9e6ad3f69a915e5
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/by_star/by_year.rb
View
@@ -10,7 +10,7 @@ def by_year(*args)
private
def by_year_Time(time, options={})
- between(time.beginning_of_year, time.end_of_year)
+ between(time.beginning_of_year, time.end_of_year, options)
end
def by_year_String_or_Fixnum(year, options={})

0 comments on commit 616e350

Please sign in to comment.