The problem was that my user model is namespaced. In this case it's
called Inkling::User. So the way the behaviours were generated and
added to the controllers made it, instead, authenticate_inkling_user!
It would be great to have these things mentioned in documentation.
Cheers,
Nicholas
On Sep 1, 11:01 pm, José Valim <
jose.va...@gmail.com> wrote:
> authenticate_user! is only available after you call `rails g devise User`.
> Try following the steps as in the README and you should be ok!
>
> --
> José Valim
>
> Director of Engineering - Plataforma Tecnologia
> Know more about us:
http://plataformatec.com.br/en/
>