Permalink
Browse files

Be consistent in argument names for 3.2.6.

  • Loading branch information...
1 parent 387a131 commit c10e9a5f429cec994996b03ee4e67a5bac12a394 @metaskills committed Jun 13, 2012
Showing with 6 additions and 3 deletions.
  1. +4 −1 CHANGELOG
  2. +2 −2 lib/grouped_scope/arish/relation/predicate_builer.rb
View
@@ -1,5 +1,8 @@
-= master
+= 3.2.1
+
+* Be consistent in argument names for 3.2.6.
+
= 3.2.0
@@ -9,12 +9,12 @@ module PredicateBuilder
end
module ClassMethods
- def build_from_hash_with_grouped_scope(engine, attributes, default_table, check_column = true)
+ def build_from_hash_with_grouped_scope(engine, attributes, default_table, allow_table_name = true)
attributes.select{ |column, value| GroupedScope::SelfGroupping === value }.each do |column_value|
column, value = column_value
attributes[column] = value.arel_table[column.to_s].in(value.ids_sql)
end
- build_from_hash_without_grouped_scope(engine, attributes, default_table, check_column)
+ build_from_hash_without_grouped_scope(engine, attributes, default_table, allow_table_name)
end
end

0 comments on commit c10e9a5

Please sign in to comment.