2016-06-28 18:54:17 +00:00
|
|
|
* Inspecting an object with an associated array of over 10 elements no longer
|
|
|
|
truncates the array, preventing `inspect` from looping infinitely in some
|
|
|
|
cases.
|
|
|
|
|
|
|
|
*Kevin McPhillips*
|
|
|
|
|
2016-06-29 13:46:45 +00:00
|
|
|
* Removed the unused methods `ActiveRecord::Base.connection_id` and
|
|
|
|
`ActiveRecord::Base.connection_id=`
|
|
|
|
|
|
|
|
*Sean Griffin*
|
|
|
|
|
2016-05-31 13:56:19 +00:00
|
|
|
* Ensure hashes can be assigned to attributes created using `composed_of`.
|
|
|
|
Fixes #25210.
|
|
|
|
|
|
|
|
*Sean Griffin*
|
|
|
|
|
2016-05-21 12:51:36 +00:00
|
|
|
* Fix logging edge case where if an attribute was of the binary type and
|
|
|
|
was provided as a Hash.
|
2016-05-21 12:55:06 +00:00
|
|
|
|
2016-05-21 12:51:36 +00:00
|
|
|
*Jon Moss*
|
|
|
|
|
2016-02-22 16:36:08 +00:00
|
|
|
* Handle JSON deserialization correctly if the column default from database
|
|
|
|
adapter returns `''` instead of `nil`.
|
|
|
|
|
|
|
|
*Johannes Opper*
|
2016-05-06 21:54:40 +00:00
|
|
|
|
2016-05-21 11:25:01 +00:00
|
|
|
* Introduce ActiveRecord::TransactionSerializationError for catching
|
|
|
|
transaction serialization failures or deadlocks.
|
|
|
|
|
|
|
|
*Erol Fornoles*
|
|
|
|
|
2016-05-10 17:44:33 +00:00
|
|
|
* PostgreSQL: Fix db:structure:load silent failure on SQL error
|
|
|
|
|
|
|
|
The command line flag "-v ON_ERROR_STOP=1" should be used
|
|
|
|
when invoking psql to make sure errors are not suppressed.
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
psql -v ON_ERROR_STOP=1 -q -f awesome-file.sql my-app-db
|
|
|
|
|
|
|
|
Fixes #23818.
|
|
|
|
|
|
|
|
*Ralin Chimev*
|
|
|
|
|
|
|
|
|
2016-05-10 04:07:09 +00:00
|
|
|
Please check [5-0-stable](https://github.com/rails/rails/blob/5-0-stable/activerecord/CHANGELOG.md) for previous changes.
|