Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: Godisemo
Had problems with this too. Thanks.
It should be cookies.delete(:auth_token), not cookies.delete[:auth_token].
I'm using nested forms to which I add fields dynamically with ryans gem nested_form. How could these fields be validated?
I experience that the tests run really slow, is there a way to speed things up?
I have previously used devise for authentication but think it is to heavy with too many functions and too much I have to customize. This new built-in methods are really nice.
In devise you use a before_filter to authenticate certain actions, e.g.
How can I do the same thing without using devise and instead use the new methods?
BCrypt stores the salt with the password hash I believe.