Displaying 2 results from an estimated 2 matches for "afaninthehouse".
2013 Oct 24
6
undefined method `paginate' for #<Class:0x567eb98> in Rails Tutorial
Hi,
I''m getting a undefined method `paginate'' for #<Class:0x567eb98> even
though I have gem ''will_paginate'' installed.
Inside the users_controller I have @users = User.paginate(page: params[:page
])
so I believe I set everything up to be correct.
Can you figure out why the method''s undefined, despite installing the gem?
--
You received this
2013 Oct 21
6
I think I've found a mistake in Rails tutorial
At the point of this section
*http://ruby.railstutorial.org/chapters/sign-up#sec-signup_failure*<http://ruby.railstutorial.org/chapters/sign-up#sec-signup_failure>
clicking the "Create my account" button on the signup form shows the
following image at
<http://ruby.railstutorial.org/images/figures/signup_failure_rails_4.png>
According to the tutorial, I must modify