I'm using devise and in application_controller I have before_filter
:authenticate!
In sector_controller I have:
skip_filter :authenticate_user!, :only = [:index, :search_categories_by_sector]
When I run rspec it says: undefined method authenticate!, even for
index action.
But I' set skip_filter
On 7 June 2011 15:45, Mauro mrsan...@gmail.com wrote:
I'm using devise and in application_controller I have before_filter
:authenticate!
In sector_controller I have:
skip_filter :authenticate_user!, :only = [:index,
:search_categories_by_sector]
When I run rspec it says: undefined method
On 7 June 2011 14:48, Colin Law clan...@googlemail.com wrote:
On 7 June 2011 15:45, Mauro mrsan...@gmail.com wrote:
I'm using devise and in application_controller I have before_filter
:authenticate!
In sector_controller I have:
skip_filter :authenticate_user!, :only = [:index,
On 7 June 2011 15:53, Mauro mrsan...@gmail.com wrote:
On 7 June 2011 14:48, Colin Law clan...@googlemail.com wrote:
On 7 June 2011 15:45, Mauro mrsan...@gmail.com wrote:
I'm using devise and in application_controller I have before_filter
:authenticate!
In sector_controller I have:
On 7 June 2011 15:07, Colin Law clan...@googlemail.com wrote:
On 7 June 2011 15:53, Mauro mrsan...@gmail.com wrote:
On 7 June 2011 14:48, Colin Law clan...@googlemail.com wrote:
On 7 June 2011 15:45, Mauro mrsan...@gmail.com wrote:
I'm using devise and in application_controller I have
On 7 June 2011 17:12, Mauro mrsan...@gmail.com wrote:
On 7 June 2011 15:07, Colin Law clan...@googlemail.com wrote:
On 7 June 2011 15:53, Mauro mrsan...@gmail.com wrote:
On 7 June 2011 14:48, Colin Law clan...@googlemail.com wrote:
On 7 June 2011 15:45, Mauro mrsan...@gmail.com wrote:
I'm
On 7 June 2011 16:33, Colin Law clan...@googlemail.com wrote:
I haven't used Devise though
What to you use to authenticate?
Could it
be due to the fact that you are using InheritedResources?
I think so, I'll do more testing.
--
You received this message because you are subscribed to
7 matches
Mail list logo