RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: mrbaker4
I have been messing around with this today but for some reason I still can't figure out where the following functions are defined and my rails server keeps telling me they are undefined:
Products.page(page).per_page(per_page) and products.total_entries.
Any help would be great.