config/initializers/wrappers/scopes/default_scopes.rb in eitil-0.3.4 vs config/initializers/wrappers/scopes/default_scopes.rb in eitil-0.3.5

- old
+ new

@@ -46,10 +46,10 @@ columns_hash.select { |column,v| v.sql_type_metadata.type == data_type } end def create_eitil_boolean_scopes columns_of_type(:boolean)&.map do |column, object| - eitil_scope :"#{column}_true", -> { where(column => true) } + eitil_scope :"#{column}_true", -> { where(column => true) } eitil_scope :"#{column}_false", -> { where(column => [false, nil]) } end end def create_eitil_datetime_scopes \ No newline at end of file