Fabrice
unread,Nov 12, 2010, 7:15:07 AM11/12/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Devise
Hello,
I keep getting the typical "undefined method `authenticate_user!'"
error in my controller.
I'm using it like this:
class ProductController < ApplicationController
before_filter :authenticate_user!, :except => [:list, :show]
Where is this method declared ? Where can I look at ? What makes the
method available in the controller ?
I installed Devise using the following instructions:
gem install devise
rails generate devise:install
rails generate devise product
The versions are Rails 3.0.1 and Devise 1.1.3.
Thank you,
Fabrice