Help with kaminari

18 views
Skip to first unread message

Santiago Norman

unread,
Jun 5, 2015, 6:05:12 AM6/5/15
to rubyonra...@googlegroups.com
I am paginating a question in my view and it has a countdown timer. The timer is applied to all the questions means that if I give a 60 mins, I must finish all the questions within the given time. How can I maintain the timers time even if I click the  next link?

Colin Law

unread,
Jun 5, 2015, 6:13:07 AM6/5/15
to rubyonra...@googlegroups.com
How have you implemented the timer?

Colin

James Davis, PhD

unread,
Jun 8, 2015, 8:02:38 AM6/8/15
to rubyonra...@googlegroups.com
Try implementing the pagination in an ajax-ish manner. This video is a little old but still relevant http://railscasts.com/episodes/240-search-sort-paginate-with-ajax

I use AngularJS for my applications, which accomplishes the single page application feel, but becoming proficient at it is not trivial.
Reply all
Reply to author
Forward
0 new messages