Ruby on Rails Monday, July 21, 2014

@Ian,

He is not using Devise if he is going through the Hartl tutorial. Scott's suggestion is the one that should be followed.

On Monday, July 21, 2014 10:36:01 AM UTC-6, Ian_Rgz wrote:
It seems that you need to create the Devise mapping(If you're using devise), to fix this you can:

- Set the devise mapping inside a before block
- Include Devise test helpers

Here's a link to the Devise Wiki

Cheers,
Ian


2014-07-21 9:26 GMT-07:00 Scott Ribe <scott...@elevated-dev.com>:
On Jul 21, 2014, at 10:19 AM, Roelof Wobben <rwo...@hotmail.com> wrote:

>  undefined method `authenticate' for nil:NilClass

You're calling method authenticate nil. You need to look at your call to authenticate, and figure out why the object is nil. (This could easily be caused by a simple typo. Check variable names carefully.)


--
Scott Ribe
scott...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice




--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/722ED808-DDC4-4D21-8AC4-A4C8FAEE329E%40elevated-dev.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/0b9ee9e8-ed44-4b28-a5ef-0b5ecb1fd681%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment