#165 new

rails 3 session generator

Reported by sax | February 24th, 2010 @ 05:57 PM

rails 3 deals with generators slightly differently. The session generator is fairly simple, and lives in a different place from rails 2 generators so does not conflict. I've been watching other gems that do some complicated gymnastics to reuse code between the two generators, but with such a simple generator some duplication isn't terrible. Let me know if you have any preferences and I can alter this to be smarter or less redundant.

Here is a simple patch that works on rails 3 in ruby 1.9.2.

Usage: rails generate authlogic:session session_class

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Object based authentication solution that handles all of the non sense for you. It's as easy as ActiveRecord is with a database.

People watching this ticket