-
-
Notifications
You must be signed in to change notification settings - Fork 153
Description
It is not possible to store the biography's abstract and description.
I experienced this in production and in the development environment.
After entering text into those fields and storing them is not stored into the database.
The console log contains the following statements:
Processing by CrewProfilesController#update as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"*****==", "person"=>{"first_name"=>"admin", "last_name"=>"admin", "public_name"=>"admin_127", "gender"=>"", "email"=>"[email protected]", "email_public"=>"1", "include_in_mailings"=>"0", "abstract_en"=>"test", "description_en"=>"test 123"}, "commit"=>"Profil aktualisieren", "locale"=>"de"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
Person Load (0.1ms) SELECT "people".* FROM "people" WHERE "people"."user_id" = ? LIMIT ? [["user_id", 1], ["LIMIT", 1]]
↳ app/models/user.rb:49:in `setup_default_values'
Unpermitted parameters: :abstract_en, :description_en
Environment: Today's frab version, ruby 3.0.4, Rails 6.1.4.1, MacOS 12.6