Groups
Sign in
Groups
sporkgem
Conversations
About
Send feedback
Help
Spork and aliased helper method in Rails application
24 views
Skip to first unread message
Nebojša Stričević
unread,
Feb 21, 2012, 10:20:59 AM
2/21/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sporkgem
I have problem with Spork (v 1.0.0rc1) and Devise in my Rails
application. I have this error when I run spork:
undefined method 'user_signed_in?' for class ApplicationController
In ApplicationController I have following lines:
alias logged_in? user_signed_in?
helper_method :logged_in?
When I remove these two lines, Spork works fine. I use logged_in? for
historical reasons in views and I would like to continue to do so.
I have looked around and I couldn't find anything helpful.
Does anyone has a fix for this? Or is it a bug?
Nebojsa
Reply all
Reply to author
Forward
0 new messages