1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test
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_record/connection_adapters Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
assets
cases update_columns raises if the column is unknown 2018-10-30 12:52:23 -06:00
fixtures Lazy checking whether or not values in IN clause are boundable 2018-10-24 11:26:49 +09:00
migrations Fix occurrences Fixnum|Bignum 2018-03-04 20:44:30 +02:00
models Exercise HABTM fixtures with foreign key constraints 2018-10-30 11:08:41 +09:00
schema Exercise HABTM fixtures with foreign key constraints 2018-10-30 11:08:41 +09:00
support Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
config.example.yml Deterministic connection collation in tests 2018-10-25 10:50:27 +09:00
config.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00