aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
* Add foreign_type option for polymorphic has_one and has_many.Ulisses Almeida + Kassio Borges2014-12-0810-3/+53
* Don't error when `attributes` is called on a frozen AR modelSean Griffin2014-12-082-1/+11
* Revert to 4.1 behavior for casting PG arraysSean Griffin2014-12-082-5/+23
* Merge pull request #17964 from carols10cents/improve-after-commit-argumenterr...Rafael Mendonça França2014-12-082-1/+5
|\
| * Make error message clearer that :on requires a symbol, not a stringCarol Nichols2014-12-072-1/+5
* | Fix type case of "validations" and word-wrap from #17954 [ci skip]Zachary Scott2014-12-081-2/+3
* | Add note to Store about uniqueness validation (#17954) [skip ci]Mike Chau2014-12-081-1/+4
* | minor sentences fixesNeeraj Singh2014-12-071-3/+3
|/
* Fix grammar of sentence in Reflection documentationeileencodes2014-12-071-3/+3
* Add `force: true` to tables created in PG testsSean Griffin2014-12-052-2/+2
* Correctly respect subtypes for PG arrays and rangesSean Griffin2014-12-053-10/+43
* Merge pull request #17919 from mrgilman/stop-supporting-nested-arraysSean Griffin2014-12-044-40/+5
|\
| * Remove deprecated behavior allowing nested arrays as query valuesMelanie Gilman2014-12-044-40/+5
* | Correctly handle multiple attribute method prefix/suffixes which matchSean Griffin2014-12-041-0/+10
* | Merge pull request #17920 from calebthompson/dont-rely-on-environment-task-fo...Sean Griffin2014-12-041-1/+1
|\ \ | |/ |/|
| * Remove environment dependency for db:schema:loadCaleb Thompson2014-12-041-1/+1
* | Deprecate `Class` handler in `PredicateBuilder`Melanie Gilman2014-12-043-4/+17
|/
* Merge pull request #17906 from kamipo/prevent_symbol_gcRafael Mendonça França2014-12-041-0/+3
|\
| * Prevent Symbol GCRyuta Kamizono2014-12-041-0/+3
* | docs, bring back `ActiveRecord::Core` methods in the API. [ci skip]Yves Senn2014-12-041-1/+0
* | Clarify that batching methods can be used with any orderable type primary key...Isaac Seymour2014-12-031-4/+4
|/
* Merge pull request #17898 from mrgilman/move-predicate-builder-to-constructorSean Griffin2014-12-031-4/+5
|\
| * Move PredicateBuilder instantiation to constructorMelanie Gilman2014-12-031-4/+5
* | Active Record changelog needs to keep pointing at 4-2-stable. #17651Yves Senn2014-12-031-1/+1
* | docs, add new changelog entries at the top :sweat: [ci skip] #17651Yves Senn2014-12-031-5/+5
* | Merge pull request #17651 from CLUSTERfoo/fix/adding_timestamps_migration_not...Yves Senn2014-12-038-11/+16
|\ \ | |/ |/|
| * Failure to rollback t.timestamps when within a change_table migrationnoam2014-12-038-11/+16
* | document that `.delete` does work on `#readonly?` records. Closes #11860Yves Senn2014-12-031-0/+2
|/
* skip test to get `sqlite3_mem` suite passing.Yves Senn2014-12-031-1/+1
* Merge pull request #17890 from sergey-alekseev/remove-useless-methodsYves Senn2014-12-031-10/+0
|\
| * remove useless methodsSergey Alekseev2014-12-031-10/+0
* | Merge pull request #17889 from mxie/mx-fix-nonexistent-typoSean Griffin2014-12-025-8/+8
|\ \ | |/ |/|
| * Fix "nonexistent" typo in testsMelissa Xie2014-12-025-8/+8
* | Require missing association in testSean Griffin2014-12-021-0/+1
|/
* Refactor `build_from_hash` to convert dot notation to hash firstMelanie Gilman2014-12-022-29/+40
* Merge pull request #17886 from mrgilman/refactor-predicate-builderSean Griffin2014-12-024-19/+32
|\
| * Refactor `PredicateBuilder` from singleton to instanceMelanie Gilman2014-12-024-19/+32
* | Allow to unscope where conditions using `arel_table` with Symboldeeeki2014-12-032-1/+9
|/
* no need to pass native_database_types aroundYves Senn2014-12-024-7/+13
* pg tests, get rid of global schema `schema_1`.Yves Senn2014-12-023-53/+51
* pg tests, move uniqueness validation test to array tests.Yves Senn2014-12-023-27/+16
* tests, extract pg number tests into separate file.Yves Senn2014-12-023-44/+51
* tests, move schema shorthand assertions into pg specific tests.Yves Senn2014-12-0210-131/+89
* tests, move pg geometric tests out of `base_test`.Yves Senn2014-12-023-106/+73
* ugh, forgot to add this test to cdd90f39d796986dabf1678b3277b230dbe18961Aaron Patterson2014-12-011-0/+5
* tests, favor public API over inspecting columns where possible.Yves Senn2014-12-013-23/+20
* tests, run numeric default tests for every adapter.Yves Senn2014-12-011-15/+33
* tests, use public API to verify default parsing. #17863, #17856Yves Senn2014-12-011-1/+2
* Fix value extracted from negative integers for PostgreSQL.Guo Xiang Tan2014-12-012-1/+5
* Ensure numericality validations work with mutationSean Griffin2014-12-012-6/+19