am relatively new to rails. Please forgive me if this is supposed to be obvious.
Am failing to sign in into my account using devise, I keep getting the error invalid email or password, but they are the ones I used while creating the account. The server doesn't seam to contact the model for information when I look at the logs.
Processing by Businesses::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"PGav1Ca1p0XvayyhzvzN8IVgtHboVhYSTOg2YodI/UUK0VvpdwlmkEUj43hCjEVxgQokocVVMelJxJqMbUc+Dg==", "business"=>{"email"=>"jwaiswa7@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Login"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
That's the response i receive and when the view is being called again, I get the error unpermitted parameter email
Processing by Businesses::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"PGav1Ca1p0XvayyhzvzN8IVgtHboVhYSTOg2YodI/UUK0VvpdwlmkEUj43hCjEVxgQokocVVMelJxJqMbUc+Dg==", "business"=>{"email"=>"jwaiswa7@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Login"}
Unpermitted parameter: email
Any help on how to go around this is highly appreciated.