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] Re: I think I've found a mistake in Rails tutorial

2013-10-21 Thread tynamite
Thanks for your help. It turns out I missed something out. (Figure 7:22) On 21 October 2013 19:45, Jordon Bedwell wrote: > On Mon, Oct 21, 2013 at 1:40 PM, Jordon Bedwell > wrote: > > One should not claim a tutorial is broken before finishing it, because > > clearly further down: > > http://ru

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

2013-10-21 Thread tynamite
I'm currently using Rails Tutorial, but there's a mistake in the book (which I emailed Michael to be corrected) so now I'm stuck and cannot go any further. On 21 October 2013 18:11, Colin Law wrote: > On 21 October 2013 17:34, desbest wrote: > > What is your favourite authentication gem and wh

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

2013-10-21 Thread tynamite
I've decided to use the authentication system from the Ramaze ruby framework, as it's the most simplest. I'll let you know how it goes. On 21 October 2013 17:57, Lei Zhao wrote: > If you are trying to learn Rails and creating your first app with > authentication, I think it's a good idea to bui

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

2013-10-21 Thread tynamite
What's the difference between an Authentication and Authorisation solution? >From what I understand, I can use a column in the users table called *level*, and have number *5 *be an admin like if user.level == 5 On 21 October 2013 17:40, Walter Lee Davis wrote: > CanCan is an Authorization solut