Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed typo for year modifier

  • Loading branch information...
commit da7da3b6930436722542f950d118fbae6b4ecf57 1 parent 852a98e
@binarylogic authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.