provideal / tabulatr

A tight DSL to build tables of ActiveRecord or Mongoid models with sorting, pagination, finding/filtering, selecting and batch actions. Tries to do for tables what formtastic and simple_form did for forms.
Other
160 stars 15 forks source link

Has a problem with inherited models #30

Open jocubeit opened 13 years ago

jocubeit commented 13 years ago

My product class inherits from another AR class. I try to instantiate a collection of products using the find_for_table method and I get the following error:

  RuntimeError (Don't know how to deal with class 'Product'):
    app/controllers/products_controller.rb:6:in `index'