Re: [Rails] undefined method `paginate' for # in Rails Tutorial

2013-10-25 Thread desbest
ng the line giving the problem. Give us a > line number in the file so we can cross reference to the error. > > Colin > > > > > > > On 24 October 2013 22:17, Colin Law > > wrote: > >> > >> On 24 October 2013 21:47, desbest >

[Rails] undefined method `paginate' for # in Rails Tutorial

2013-10-24 Thread desbest
Hi, I'm getting a undefined method `paginate' for # 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 t

[Rails] Re: I think I've found a mistake in Rails tutorial

2013-10-21 Thread desbest
quot;=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Create my account"} Completed 500 Internal Server Error in 1ms ActiveModel::ForbiddenAttributesError (ActiveModel::ForbiddenAttributesError): app/controllers

[Rails] Re: I think I've found a mistake in Rails tutorial

2013-10-21 Thread desbest
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 >

[Rails] I think I've found a mistake in Rails tutorial

2013-10-21 Thread desbest
At the point of this section *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

[Rails] Is it a good idea to use timestamps

2013-10-21 Thread desbest
Timestamps are a number that counts the number of seconds from the epoch date 1/1/1970. I read somewhere on the internet, 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 a

[Rails] What is your favourite authentication gem and why?

2013-10-21 Thread desbest
What is your favourite authentication gem and why? Right now I have 4 to choose from (Cancan, Clearance, Rails Cast) and I don't know which one to pick. I cannot use Device because I'm a beginner at Rails. -- You received this mess