Found that when I try to enter the site an error occurs:

ActionController :: InvalidAuthenticityToken in Devise :: SessionsController # create

Tell me, what can cause such a bug?

    1 answer 1

    This can happen if you forget <% = csrf_meta_tags%> Also:

    link text

    link text

    link text

    • Yeah, <%= csrf_meta_tags %> was cached, so it didn't match. Be careful you have to be caching, be careful) Thanks for the help. - Risto