:inner_window and outer_window properties doesnot showing me any changes
5).order(“issue_slip_no DESC”)
…
How should I correct it?
I think you may have the wrong method in your controller. It appears as
though the method you should call there is named page() not paginate().
Did you copy and paste this from your code? Here’s the documentation –
you should call page(params[:page]).per_page(10) (separate chained
method) not paginate and the methods as attributes.
:inner_window and outer_window properties doesnot showing me any changes
5).order(“issue_slip_no DESC”)
…
How should I correct it?
I think you may have the wrong method in your controller. It appears as
though the method you should call there is named page() not paginate().
Did you copy and paste this from your code? Here’s the documentation –
you should call page(params[:page]).per_page(10) (separate chained
method) not paginate and the methods as attributes. API documentation · mislav/will_paginate Wiki · GitHub
Walter
Thanks a bunch Walter… I have corrected it…
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.