You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess to start, what is "format" and why does it not show in the transaction? And secondly, is there any way I can get rid of "session" from the transaction, or at least allow it as a permitted parameter? (Because if I remember correctly, the session param is actually default rails behavior)
The text was updated successfully, but these errors were encountered:
Any idea how I can tell the devise_auth::sessionscontroller#create to accept format? It's not a huge deal since it doesn't seem to be causing any issues, but the warnings can get a little annoying sometimes.
Hi all, I'm sorry if I sound super noobish. I'm having a bit of a weird console warning/error. Firstly, I'm following this tutorial: https://www.airpair.com/ruby-on-rails/posts/authentication-with-angularjs-and-ruby-on-rails
I've completed to step 4.2. The sign in and sign out works without an issue, however on the console I'm getting this:
I'm able to get rid of the "format" unpermitted param by adding it as a permitted parameter as explained here: https://github.com/plataformatec/devise#strong-parameters
Doing this with "session" however does not work.
I guess to start, what is "format" and why does it not show in the transaction? And secondly, is there any way I can get rid of "session" from the transaction, or at least allow it as a permitted parameter? (Because if I remember correctly, the session param is actually default rails behavior)
The text was updated successfully, but these errors were encountered: