aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* 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-021-0/+6
* Allow to unscope where conditions using `arel_table` with Symboldeeeki2014-12-031-0/+8
* 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-011-0/+4
* Ensure numericality validations work with mutationSean Griffin2014-12-011-0/+13
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-2933-125/+113
* Adds preloaded_records method to NullPreloaderThorsten Ball2014-11-281-0/+8
* Fix a bug where AR::RecordNotSaved loses error messagesYuki Nishijima2014-11-273-9/+28
* Merge pull request #17807 from jvperrin/correct-integer-testRafael Mendonça França2014-11-271-1/+1
|\
| * Correct test description for large integer testJason Perrin2014-11-031-1/+1
* | Merge pull request #17674 from recursive-madman/activerecord-error-improvementRafael Mendonça França2014-11-261-2/+4
|\ \
| * | Add #record attribute to RecordNotFound and RecordDestroyed exceptions.Recursive Madman2014-11-261-2/+4
* | | Merge pull request #17697 from sgrif/sg-remove-is-a-check-when-ignoring-tablesSean Griffin2014-11-251-10/+0
|\ \ \
| * | | Remove is_a? check when ignoring tablesSean Griffin2014-11-201-10/+0
* | | | Setting an association replaces records with the same id in memorySean Griffin2014-11-251-0/+64
* | | | oops, forgot to add the real assertion!Aaron Patterson2014-11-241-0/+1
* | | | allow the "USING" statement to be specified on change column callsAaron Patterson2014-11-241-0/+25
* | | | Merge pull request #17678 from siddharth28/includes_with_scope_with_joinsSantiago Pastorino2014-11-242-0/+7
|\ \ \ \
| * | | | Fix includes on association with a scope containing joins along with conditionssiddharth@vinsol.com2014-11-212-0/+7
* | | | | Add a test for reflection keys as Strings, fixes #16928Zachary Scott2014-11-231-0/+4
* | | | | Rename the primary key index when renaming a table in pgSean Griffin2014-11-221-0/+34
|/ / / /
* | | | make it possible to access fixtures excluded by a `default_scope`.Yves Senn2014-11-212-0/+19
* | | | raise a better exception for renaming long indexesAaron Patterson2014-11-201-0/+14
* | | | synchronize code and docs for `timestamps` and `add_timestamps`.Yves Senn2014-11-203-2/+11
* | | | Merge pull request #17575 from shikshachauhan/make-habtm-consistentRafael Mendonça França2014-11-191-0/+10
|\ \ \ \ | |/ / / |/| | |
| * | | Allow habtm class_name option to be consistent with other associationsshiksha2014-11-131-0/+10
* | | | Reintroduce cache with testsSean Griffin2014-11-191-0/+32
* | | | Add tests for `TypeMap#fetch` and push up to `TypeMap`Sean Griffin2014-11-191-0/+15
* | | | That last test was incorrect... ☕Sean Griffin2014-11-191-10/+0
* | | | Introduce test to demonstrate regression caused by da99a2a2Sean Griffin2014-11-191-0/+10
* | | | Merge pull request #17662 from dtaniwaki/support-symbol-foreign-key-column-to...Rafael Mendonça França2014-11-191-0/+8
|\ \ \ \ | |_|/ / |/| | |
| * | | Support symbol foreign key to deletedtaniwaki2014-11-191-0/+8
* | | | Improve the performance of reading attributesSean Griffin2014-11-181-1/+1
|/ / /
* | | Remove the unused second argument to `substitute_at`Sean Griffin2014-11-174-5/+5
* | | rm `reorder_bind_params`Sean Griffin2014-11-175-9/+6
* | | Force table creation in testsSean Griffin2014-11-171-2/+2
* | | Correctly determine if an attribute is uninitializedSean Griffin2014-11-141-1/+9
* | | Reduce the amount of work performed when instantiating AR modelsSean Griffin2014-11-141-0/+9
* | | Build fix when running in isolationArun Agrawal2014-11-1430-0/+31