Re: Getting undefined method `find_using_perishable_token'

43 views
Skip to first unread message

Jacob Kosman

unread,
Aug 22, 2011, 9:28:19 PM8/22/11
to auth...@googlegroups.com
Did you get this straightened out?
Try "find_by_perishable_token" - might be a rails 3 thing.

Jacob

On Fri, Aug 19, 2011 at 3:04 PM, pangyan <praveen...@gmail.com> wrote:
This is my User class

class User < ActiveRecord::Base
 acts_as_authentic

 attr_accessible :email, :password, :password_confirmation, :active

 def activate!
   self.active = true
   save
 end
end

The schema for User has a perishable_token column. For some reason
acts_as_authentic doesn't seem to be including the PErishableToken sub
moduler.

--
You received this message because you are subscribed to the Google Groups "Authlogic" group.
To post to this group, send email to auth...@googlegroups.com.
To unsubscribe from this group, send email to authlogic+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/authlogic?hl=en.


Reply all
Reply to author
Forward
0 new messages