On Fri, Jul 8, 2011 at 9:43 AM, Rodrigo Ruiz <rodrigo.ru...@gmail.com>wrote:
> I'd like some help to do both. > Either an easy way to do it from scratch or a gem. > > I saw the way it's done at Ruby on Rails Tutorial, but couldn't understand > it very well, so thats why I want an easier way (or gem). > I've been told that the gem Devise does the Authentication, but not the > authorization. Is it true? Or can I do authorization with Devise? > > Thank you, > Rodrigo > Rodrigo, the goal of the Ruby on Rails Tutorial was to teach you the fundamentals of Rails and how to build web applications using the framework. Thus, within one or maybe two of his lessons, he showed you how to build authentication for a Rails application using TDD from scratch. He just wanted you to be familiar with what goes into authentication so that you could better understand gems like Devise and Authlogic. Next, I would highly recommend taking another look at this material within the book and make sure you understand it before jumping into one of the authentication gems. Furthermore, reading the source and documentation of these gems are always a good thing to understand what it's doing/(not doing) and how it's being done. In short, the goal of the tutorial is learning Rails using TDD to enforce an understanding of the concepts within the framework. Also, please do not rush the learning process because it's like building code without tests. :-) Good luck, -Conrad > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.