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

syntax error #60

Closed 29decibel closed 13 years ago

29decibel commented 13 years ago

Instead of

AdminData::Config.set = { :find_conditions => .... }

Now you need to do

AdminData.config do |config| config.find_conditions = ... }

the last line should be "end" instead of "}"

neerajsingh0101 commented 13 years ago

Fixed in new release. https://github.com/neerajdotname/admin_data/commit/37eaaac4b60bf0168778f7832a132810da0902c4

Thanks for reporting.