aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/adapters/postgresql/json_test.rb
Commit message (Expand)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
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Consolidate database specific JSON types to `Type::Json`Ryuta Kamizono2017-05-301-18/+9
* Extract `JSONSharedTestCases`Ryuta Kamizono2017-05-221-180/+2
* Fix `deserialize` with JSON arrayRyuta Kamizono2017-03-061-0/+10
* "Use assert_nil if expecting nil from ...:in `...'. This will fail in MT6."Akira Matsuda2016-12-251-2/+2
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-8/+8
* Serialize JSON attribute value nil as SQL NULL, not JSON 'null'Trung Duc Tran2016-09-231-0/+16
* Add three new rubocop rulesRafael Mendonça França2016-08-161-15/+15
* applies remaining conventions across the projectXavier Noria2016-08-061-1/+1
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-22/+22
* Properly serialize all JSON primitives in the AR JSON typeSean Griffin2016-04-131-5/+12
* File encoding is defaulted to utf-8 in Ruby >= 2.1Akira Matsuda2015-09-181-1/+0
* make it possible to run AR tests with bin/testYves Senn2015-06-111-2/+2
* Fix json_testpalkan2015-03-111-0/+1
* Remove unused lineRyuta Kamizono2015-03-031-1/+0
* `Type#type_cast_from_database` -> `Type#deserialize`Sean Griffin2015-02-171-5/+5
* pg tests, be clear about the missing type that causes a test skip.Yves Senn2015-02-121-7/+6
* rm `Type#number?`Sean Griffin2015-02-071-1/+0
* Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 on...Vipul A M2015-02-031-1/+0
* Remove most type related predicates from `Column`Sean Griffin2015-01-301-8/+10
* Don't error when invalid json is assigned to a JSON columnSean Griffin2015-01-211-0/+8
* Should escape regexp wildcard character `.`Ryuta Kamizono2015-01-191-1/+1
* Prefer `array?` rather than `array`Ryuta Kamizono2015-01-041-1/+1
* tests, remove unneeded requires.Yves Senn2014-11-061-3/+0
* Added SchemaDumper support for tables with jsonb columns.Ted O'Meara2014-11-041-0/+8
* Add support for Postgresql JSONBPhilippe Creux2014-07-241-9/+25
* Remove the `text?` predicate from the type objectsSean Griffin2014-07-061-1/+0
* Use the type object for sending JSON to the databaseSean Griffin2014-06-291-1/+1
* Consolidate testing of update_all type castingSean Griffin2014-06-261-10/+0
* Don't type cast the default on the columnSean Griffin2014-06-171-2/+1
* Don't assume that Hstore columns have always changedSean Griffin2014-06-171-1/+2
* Detect in-place changes on mutable AR attributesSean Griffin2014-06-131-0/+20
* Rename `type_cast` to `type_cast_from_database`Sean Griffin2014-06-091-4/+4
* Make `_before_type_cast` actually be before type castSean Griffin2014-06-091-0/+1
* Bring type casting behavior of hstore/json in line with serializedSean Griffin2014-06-041-0/+8
* Revert "test pg, we don't care about the internal state of `column#default`."Yves Senn2014-06-031-0/+3
* test pg, remove unused column assignments. Follow up to 254cdf47Yves Senn2014-06-031-2/+0
* test pg, we don't care about the internal state of `column#default`.Yves Senn2014-06-031-1/+0
* pg, keep `hstore` and `json` attributes as `Hash` in @attributes.Yves Senn2014-05-281-0/+8
* test, use `columns_hash[]` in place of `columns.find {}`.Yves Senn2014-05-121-2/+2
* PostgreSQL, test-cases to lock down column default values.Yves Senn2014-03-281-0/+11
* PostgreSQL, test cases to lock the current column types.Yves Senn2014-03-281-7/+13
* Use teardown helper method.Guo Xiang Tan2014-03-141-1/+1
* no need to `return skip` in tests. `skip` is enough.Yves Senn2014-01-161-1/+1
* Tidy up fix for PG extensions quotingCarlos Antonio da Silva2013-12-231-2/+6
* Serialize postgres' hstore, json and array types correctly in AR update methods.Tadas Tamosauskas2013-12-231-0/+6
* cast json values on write to be consistent with reading from the db.Severin Schoepke2013-10-251-0/+7
* test to verify the `ActiveRecord::Store` behavior with PG's json typeYves Senn2013-10-251-0/+18