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

2013-10-25 Thread desbest
On Friday, October 25, 2013 10:12:01 AM UTC+1, Colin Law wrote: > On 24 October 2013 23:11, tynamite > > wrote: > > I'm using Rails 3 and I've ran bundle install and put it in my Gemfile. > > Please don't top post, it makes it difficult to follow the thread. > Insert your reply inline. Than

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

2013-10-25 Thread Colin Law
On 24 October 2013 23:11, tynamite wrote: > I'm using Rails 3 and I've ran bundle install and put it in my Gemfile. Please don't top post, it makes it difficult to follow the thread. Insert your reply inline. Thanks. Hopefully you mean that you have put it in Gemfile and run bundle install :) W

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

2013-10-25 Thread Frederick Cheung
On Thursday, October 24, 2013 11:11:33 PM UTC+1, desbest wrote: > > I'm using Rails 3 and I've ran bundle install and put it in my Gemfile. > > And you restarted the app after doing this? Fred > > On 24 October 2013 22:17, Colin Law >wrote: > >> On 24 October 2013 21:47, desbest > >> wrote:

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

2013-10-24 Thread tynamite
I'm using Rails 3 and I've ran bundle install and put it in my Gemfile. On 24 October 2013 22:17, Colin Law wrote: > On 24 October 2013 21:47, desbest wrote: > > Hi, > > I'm getting a undefined method `paginate' for # even > though > > I have gem 'will_paginate' installed. > > Inside the users

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

2013-10-24 Thread Colin Law
On 24 October 2013 21:47, desbest wrote: > 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

[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