- Fixes problem on
searchable_columnswhere the corresponding model is a composite model name, e.g.UserData,BillingAddress. Thanks to iruca3 for the fix.
- A fresh start. Sets base class name to:
AjaxDatatablesRails::Base. - Extracts pagination functions to mixable modules.
- A user would have the option to stick to the base
AjaxDatatablesRails::Extensions::SimplePaginatoror replace it withAjaxDatatablesRails::Extensions::KaminariorAjaxDatatablesRails::Extensions::WillPaginate, depending on what he/she is using to handle record pagination.
- A user would have the option to stick to the base
- Removes dependency to pass in a model name to the generator. This way, the developer has more flexibility to implement whatever datatable feature is required.
- Datatable constructor accepts an optional
optionshash to provide more flexibility. See README for examples. - Sets generator inside the
Railsnamespace. To generate anAjaxDatatablesRailschild class, just execute the generator like this:$ rails generate datatable NAME.