ActiveModel::ForbiddenAttributesError when creating new user
ActiveModel::ForbiddenAttributesError when creating new user Solution: On your POST handler, you need to untaint your params with: class UsersController < ApplicationController (...) def create #post @user = User.new(user_params) (...) end (...) private def user_params...
Recent Comments