neerajsingh0101 / admin_data

A non instrusive gem which helps you browse, search and manage your data using browser
http://admin-data-demo.heroku.com/admin_data
MIT License
376 stars 56 forks source link

Problem with advance search, fails with NZKoz-rails_xss plugin #25

Closed ghost closed 14 years ago

ghost commented 14 years ago

When I use the advance search feature I always get the following error. Rendering /home/family/Desktop/old/final2/vendor/plugins/admin_data/app/views/admin_data/search/search/_listing.html.erb

ArgumentError (wrong number of arguments (1 for 2)): vendor/plugins/admin_data/app/controllers/admin_data/search_controller.rb:55:in advance_search' vendor/plugins/admin_data/app/controllers/admin_data/search_controller.rb:44:inadvance_search

I using rails 2.3.5.

Also, i noticed that this plugin will not work with the new rails_xss plugin

neerajsingh0101 commented 14 years ago

I will look into this issue. All of my projects are using 2.3.4 so I never tested this plugin with Rails 2.3.5 along with rails_xss plugin.

neerajsingh0101 commented 14 years ago

should be fixed in a few weeks

neerajsingh0101 commented 14 years ago

It has been fixed in master. Tested with rails 2.3.8 and rails_xss plugin for 2.3.8