Getting this error http://i.laj.lv/image/25081q1O1q3C
Here is my code snippets
gem 'will_paginate', '~> 3.0'
@users = User.paginate(:page => params[:page])
<%= will_paginate @users %>
I presume User is an Active Record model? This indicates that will_paginate hasn't properly loaded in the app. Have you restarted the Rails server since you've added will_paginate to the Gemfile? Does your config/application.rb contain something similar to this line:
It was probably an issue of forgetting to restart the app after Gemfile change.
Yes sorry noob mistake
I forgot something it's nessesary to do touch tmp/restart.txt when using pow.cx.
closed your server ,and turn on again .good luck