Remove `User.build_user`
def build_user(attrs = {})
User.new(attrs)
end
used in API::Users
:
user = User.build_user(declared_params(include_missing: false))
We can just use User.new
directly...
def build_user(attrs = {})
User.new(attrs)
end
used in API::Users
:
user = User.build_user(declared_params(include_missing: false))
We can just use User.new
directly...