search for: pginate

Displaying 1 result from an estimated 1 matches for "pginate".

Did you mean: paginate
2007 Oct 15
3
NoMethodError
...ying to write a program to fetch the data from Database and written the data using pagination. I could get the data from DB. but pagination is not working. When i see the log file it is showing the following error. NoMethodError: undefined method ''paginatior'' #<Hash...> my pginate.rb and pagination.rb files are not in the same folder Here is my piece of code: def sample_method sql = "select * from customers where rownum < 100" collection = Sample::Models::Sa::Customer.find_by_sql(sql) options={:per_page => 10 , Page => 1} @pages, @customers = pagina...