Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | applies remaining conventions across the project | Xavier Noria | 2016-08-06 | 1 | -1/+1 |
| | |||||
* | normalizes indentation and whitespace across the project | Xavier Noria | 2016-08-06 | 1 | -135/+135 |
| | |||||
* | applies new string literal convention in activerecord/test | Xavier Noria | 2016-08-06 | 1 | -22/+22 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Properly serialize all JSON primitives in the AR JSON type | Sean Griffin | 2016-04-13 | 1 | -4/+11 |
| | | | | | | | | | | | | | | Previously we were assuming that the only valid types for encoding were arrays and hashes. However, any JSON primitive is an accepted value by both PG and MySQL. This does involve a minor breaking change in the handling of `default` in the schema dumper. This is easily worked around, as passing a hash/array literal would have worked fine in previous versions of Rails. However, because of this, I will not be backporting this to 4.2 or earlier. Fixes #24234 | ||||
* | Add a native JSON data type support in MySQL | Ryuta Kamizono | 2015-08-18 | 1 | -0/+172 |
As of MySQL 5.7.8, MySQL supports a native JSON data type. Example: create_table :json_data_type do |t| t.json :settings end |