lib/pickle/config.rb in pickle-0.2.12 vs lib/pickle/config.rb in pickle-0.3.0

- old
+ new

@@ -26,11 +26,11 @@ end end def predicates @predicates ||= Pickle::Adapter.model_classes.map do |k| - k.public_instance_methods.select{|m| m =~ /\?$/} + k.column_names + k.public_instance_methods.select {|m| m =~ /\?$/} + Pickle::Adapter.column_names(k) end.flatten.uniq end def mappings @mappings ||= [] @@ -43,6 +43,6 @@ args.each do |search| self.mappings << OpenStruct.new(:search => search, :replacement => options[:to]) end end end -end \ No newline at end of file +end