RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: l2k
If you use Kaminari instead of will_paginate, just replace total_entries by total_count and per_page(per_page) by per(per_page) in the class ProductsDatatable
total_entries
total_count
per_page(per_page)
per(per_page)
If you use Kaminari instead of will_paginate, just replace
total_entries
bytotal_count
andper_page(per_page)
byper(per_page)
in the class ProductsDatatable