Permalink
Browse files

Fixed typo for year modifier

  • Loading branch information...
1 parent 852a98e commit da7da3b6930436722542f950d118fbae6b4ecf57 @binarylogic committed Oct 3, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/searchgasm/active_record/connection_adapters/mysql_adapter.rb
View
2 lib/searchgasm/active_record/connection_adapters/mysql_adapter.rb
@@ -44,7 +44,7 @@ def month_sql(column_name)
end
def year_sql(column_name)
- "MONTH(#{column_name})"
+ "YEAR(#{column_name})"
end
# String functions

0 comments on commit da7da3b

Please sign in to comment.