Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Deprecate update_attributes and update_attributes! | Eddie Lebow | 2018-02-17 | 1 | -1/+1 |
| | | | | Closes #31998 | ||||
* | Use assert_predicate and assert_not_predicate | Daniel Colson | 2018-01-25 | 1 | -12/+12 |
| | |||||
* | Address `ActiveRecord::NotNullViolation: OCIError: ORA-01400` for Oracle ↵ | Yasuo Honda | 2017-12-07 | 1 | -6/+14 |
| | | | | database which requires primary key value mentioned in insert statement explicitly. | ||||
* | Use `:string` instead of `:text` for `JsonAttributeTest` | Ryuta Kamizono | 2017-12-06 | 1 | -2/+7 |
| | | | | Since CLOB data type has many limitations in Oracle SELECT WHERE clause. | ||||
* | Emulate JSON types for SQLite3 adapter (#29664) | Ryuta Kamizono | 2017-12-03 | 1 | -2/+0 |
| | | | | | Actually SQLite3 doesn't have JSON storage class (so it is stored as a TEXT like Date and Time). But emulating JSON types is convinient for making database agnostic migrations. | ||||
* | Add JSON attribute test cases for SQLite3 adapter | Ryuta Kamizono | 2017-10-05 | 1 | -0/+2 |
| | |||||
* | Allow `serialize` with a custom coder on `json` and `array` columns | Ryuta Kamizono | 2017-08-13 | 1 | -1/+25 |
| | | | | | | | We already have a test case for `serialize` with a custom coder in `PostgresqlHstoreTest`. https://github.com/rails/rails/blob/v5.1.3/activerecord/test/cases/adapters/postgresql/hstore_test.rb#L316-L335 | ||||
* | Move `test_not_compatible_with_serialize_macro` to `JSONSharedTestCases` | Ryuta Kamizono | 2017-08-11 | 1 | -0/+9 |
| | | | | Because `JSONSharedTestCases` is also used for `Mysql2JSONTest`. | ||||
* | Use frozen-string-literal in ActiveRecord | Kir Shatrov | 2017-07-19 | 1 | -0/+2 |
| | |||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
| | |||||
* | Add a test case for #28754 | Ryuta Kamizono | 2017-06-18 | 1 | -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 Kamizono | 2017-05-30 | 1 | -27/+41 |
| | |||||
* | Deserialize a raw value from the database in `changed_in_place?` for ↵ | Ryuta Kamizono | 2017-05-30 | 1 | -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 Kamizono | 2017-05-22 | 1 | -0/+177 |
Both `mysql2/json_test.rb` and `postgresql/json_test.rb` have same test cases. |