I want to use this query on will_paginate:
will_paginate
@courses = Course.where("id not in (?)", current_user.courses).paginate :page => params[:page], :order => 'code asc'
This does not give me the results that I want, unfortunately.
I have added a parameter :per_page. Courtesy of brian.
:per_page
Source: https://habr.com/ru/post/1784171/More articles:Can I make this style in pure CSS (button) - cssWhy ajaxSubmit does not send the correct ajax request with the request header X-Requested-With = XMLHttpRequest - javascriptCan I send LiveMeeting invitations with Java or C #? - javaНужна помощь Понимание иерархических и графических команд окна X11 - user-interfaceBlinn-Phong Shader Model Implementation Issue - javaexecuting __constructor () in php inheritance - oop.net MVC 3 Request Event - .netWCF - Dynamically invoke multiple web service endpoints that implement the same interface - wcftkdiff how to ignore line endings - tkHow to get table row height in Word - vbaAll Articles