Permalink
Browse files

added missing method visit_Arel_Attributes_Decimal as alias for visit…

…_Arel_Attributes_Attribute
  • Loading branch information...
1 parent c66fcc2 commit 6f8c4f183d47bcc36fc30230bb55f90e59a98a37 @rsim rsim committed Sep 28, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/arel/visitors/to_sql.rb
@@ -234,6 +234,7 @@ def visit_Arel_Attributes_Attribute o
"#{quote_table_name join_name}.#{quote_column_name o.name}"
end
alias :visit_Arel_Attributes_Integer :visit_Arel_Attributes_Attribute
+ alias :visit_Arel_Attributes_Decimal :visit_Arel_Attributes_Attribute
alias :visit_Arel_Attributes_String :visit_Arel_Attributes_Attribute
alias :visit_Arel_Attributes_Time :visit_Arel_Attributes_Attribute
alias :visit_Arel_Attributes_Boolean :visit_Arel_Attributes_Attribute

0 comments on commit 6f8c4f1

Please sign in to comment.