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
schneems 2f99da00c7 Do not silently fail to generate a cache_version
When an `updated_at` column exists on the model, but is not available on the instance (likely due to a select), we should raise an error rather than silently not generating a cache_version. Without this behavior it's likely that cache entries will not be able to be invalidated and this will happen without notice. 

This behavior was reported and described by @lsylvester in https://github.com/rails/rails/pull/34197#issuecomment-429668759.
2018-10-17 11:05:05 -05:00
..
active_record/connection_adapters
assets
cases Do not silently fail to generate a cache_version 2018-10-17 11:05:05 -05:00
fixtures Eager loading/preloading should be worked regardless of large number of records 2018-09-12 01:11:38 +09:00
migrations Fix occurrences Fixnum|Bignum 2018-03-04 20:44:30 +02:00
models Generate delegation methods to named scope in the definition time 2018-10-09 13:03:08 +09:00
schema Change the empty block style to have space inside of the block 2018-09-25 13:19:35 -04:00
support
config.example.yml Use utf8mb4 character set by default for MySQL database (#33608) 2018-09-11 13:03:34 -07:00
config.rb