aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/json_shared_test_cases.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
|
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|
* Add a test case for #28754Ryuta Kamizono2017-06-181-0/+19
| | | | | | | | | | A part for JSON was splitted from #28416 as #29273 and #29273 has already been merged. Closes #28754. Closes #27588. [Ryuta Kamizono & Bradley Priest]
* Consolidate database specific JSON types to `Type::Json`Ryuta Kamizono2017-05-301-27/+41
|
* Deserialize a raw value from the database in `changed_in_place?` for ↵Ryuta Kamizono2017-05-301-0/+11
| | | | | | | | `AbstractJson` Structured type values sometimes caused representation problems (keys sort order, spaces, etc). A raw value from the database should be deserialized (normalized) to prevent the problems.
* Extract `JSONSharedTestCases`Ryuta Kamizono2017-05-221-0/+177
Both `mysql2/json_test.rb` and `postgresql/json_test.rb` have same test cases.