a
line number in the file so we can cross reference to the error.
Colin
On 24 October 2013 22:17, Colin Law cla...@googlemail.com javascript:
wrote:
On 24 October 2013 21:47, desbest afanint...@gmail.com javascript:
wrote:
Hi,
I'm getting a undefined method `paginate
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,
What is your favourite authentication gem and why?
Right now I have 4 to choose from (Cancan, Clearance, Rails
Casthttp://railscasts.com/episodes/250-authentication-from-scratch)
and I don't know which one to pick.
I cannot use Device because I'm a beginner at Rails.
--
You received this
Timestamps are a number that counts the number of seconds from the epoch
date 1/1/1970.
I read somewhere on the
internethttp://en.wikipedia.org/wiki/Year_2038_problem,
that timestamps will expire in the year 2038.
This is why I always use *-mm-dd* and *-mm-dd HH:ss* to show the
date
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
There is no params as I am just clicking a Signup button that's on a page,
then the error shows up.
I'm using Ruby 1.9.3 and the latest versions of sass-rails and coffee-rails.
On Monday, October 21, 2013 6:35:15 PM UTC+1, desbest wrote:
At the point of this section
*http
(ActiveModel::ForbiddenAttributesError):
app/controllers/users_controller.rb:12:in `create'
On Monday, October 21, 2013 6:35:15 PM UTC+1, desbest wrote:
At the point of this section
*http://ruby.railstutorial.org/chapters/sign-up#sec-signup_failure*http://ruby.railstutorial.org/chapters
7 matches
Mail list logo