created develop branch, paginate giving error undefined method total_pages