rails/activemodel/lib
Sean Griffin b63701e272 update_columns raises if the column is unknown
Previosly, `update_columns` would just take whatever keys you gave it
and tried to run the update query. Most likely this would result in an
error from the database. However, if the column actually did exist, but
was in `ignored_columns`, this would result in the method returning
successfully when it should have raised, and an attribute that should
not exist written to `@attributes`.
2018-10-30 12:52:23 -06:00
..
active_model update_columns raises if the column is unknown 2018-10-30 12:52:23 -06:00
active_model.rb Bump license years for 2018 2017-12-31 22:36:55 +09:00