1
2
3
4
def custom_pagination(num_item, per_page, current_page)
  num_page = (num_item/per_page.to_f).ceil
  arr_page = []
...

Ruby ActiveRecord object custom ...

by Dimas, September 07, 2008 17:41, 1 refactoring, tagged with Custom Pagination

Hello everybody,

I'm beg...

F9ce5006fcc64833ce5f28b3b9b257f3 Talk