ghazel-pacecar 1.2.0.1 → 1.2.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/pacecar/search.rb +1 -1
  2. metadata +1 -1
@@ -15,7 +15,7 @@ module Pacecar
15
15
  def define_search_scopes
16
16
  safe_column_names.each do |name|
17
17
  named_scope "#{name}_equals".to_sym, lambda { |query|
18
- { :conditions => { name.to_sym => query } }
18
+ { :conditions => { table_name => { name => query } } }
19
19
  }
20
20
  end
21
21
  text_and_string_column_names.each do |name|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ghazel-pacecar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0.1
4
+ version: 1.2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Jankowski