Filter on Index page not working #46

Open
cheeyeo opened this Issue Jun 27, 2013 · 2 comments

Projects

None yet

2 participants

@cheeyeo

Hi

I'm not sure if this is a duplicate issue but the filter is not working ?

For example if i have a User.rb model with a name field and if i declare:

ActiveAdmin.register User do
...
filter :name, :as => :string
end

it throws the following error:

undefined method `name_contains' for #Array:0x007f91f16a60a0

@cheeyeo

Reformatting the error:

ActiveAdmin.register User do
  ...
  filter :name, :as => :string
end

  undefined method `name_contains' for #<Array:0x007f91f16a60a0>
@caifara

Duplicate of #38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment