aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* When .find_each is called without a block, return an Enumerator.Ben Woosley2013-06-191-0/+18
* Merge pull request #10987 from senny/10979_association_include_returns_trueXavier Noria2013-06-181-11/+11
|\
| * `CollectionProxy#include?` returns `true` and `false` as documented.Yves Senn2013-06-181-11/+11
* | just construct real objects rather than mock and stubAaron Patterson2013-06-171-7/+8
* | Merge branch 'master' into mrbrdo-fixserializationAaron Patterson2013-06-1715-32/+76
|\ \
| * \ Merge pull request #10533 from vipulnsward/fix_testRafael Mendonça França2013-06-151-1/+2
| |\ \ | | |/ | |/|
| | * Make test name descriptive and add reference to original regression commitVipul A M2013-06-151-1/+2
| * | fixture setup does not rely on `AR::Base.configurations`.Yves Senn2013-06-151-0/+16
| * | regression test + mysql2 adapter raises correct error if conn is closed.Yves Senn2013-06-151-0/+26
| * | Merge pull request #10953 from acapilleri/fix_typosYves Senn2013-06-151-1/+1
| |\ \
| | * | fix typosAngelo Capilleri2013-06-151-1/+1
| * | | This test does not test anything that happens in the real world. If youAaron Patterson2013-06-131-20/+0
| * | | refute the predicate for better failure messagesAaron Patterson2013-06-131-1/+1
| * | | Ambiguous reflections are on :through relationships are no longer supported.Aaron Patterson2013-06-132-2/+2
| * | | indentationAaron Patterson2013-06-111-1/+1
| * | | Remove fall back and column restrictions for `count`.Yves Senn2013-06-091-0/+9
| * | | Getting rid of the +automatic_inverse_of: false+ option in associations in favorwangjohn2013-06-085-5/+5
| * | | Merge pull request #10561 from Empact/nix-throwresultJon Leighton2013-06-072-2/+14
| |\ \ \ | | |/ / | |/| |
| | * | Make NullRelation a bit more like a real relation by returning 0 for #calcula...Ben Woosley2013-05-101-2/+3
| | * | Add coverage for the fact that pluck without an argument returns all the tabl...Ben Woosley2013-05-101-0/+5
| | * | Fix that #pluck wasn't rescuing ThrowResult, meaning it would blow up when fa...Ben Woosley2013-05-101-0/+6
* | | | add test for 9041454def79d8e61cabe49e7c5cb72cef29138bJan Berdajs2013-06-051-0/+28
|/ / /
* | | Merge pull request #10482 from scudco/10432-fix-add-column-with-arrayAaron Patterson2013-06-051-0/+29
|\ \ \
| * | | Fixes #10432 add_column not creating array columns in PostgreSQLAdam Anderson2013-06-041-0/+29
* | | | Fix #10789. Now at last ::Logger doesn't support #silence method .kennyj2013-06-051-0/+9
* | | | the typecast value should be passed to the serializer. fixes #10830Aaron Patterson2013-06-051-1/+0
* | | | adding a test for #10830Aaron Patterson2013-06-051-0/+18
|/ / /
* | | Revert "Merge pull request #4490 from EmmanuelOga/master"José Valim2013-06-041-17/+0
* | | Merge pull request #10824 from vipulnsward/wonderfulGuillermo Iguaran2013-06-021-1/+1
|\ \ \
| * | | wonderfull => wonderfulVipul A M2013-06-021-1/+1
* | | | Remove unnecessary testcase for instance level stored_attributes.kennyj2013-06-021-5/+0
* | | | Remove instance level serialized_attributes setting was deprecated.kennyj2013-06-021-6/+0
* | | | Remove instance level attr_readonly setting was deprecated.kennyj2013-06-021-6/+0
* | | | Remove behavior that deals with a string as third argument of `add_index`, be...kennyj2013-06-021-10/+0
* | | | Remove #sum with a block was deprecated.kennyj2013-06-012-12/+0
* | | | Remove ActiveSupport::Benchmarkable#silence was deprecated.kennyj2013-06-011-32/+0
|/ / /
* | | Merge pull request #10495 from senny/postgres_test_cleanupRafael Mendonça França2013-05-282-30/+30
|\ \ \
| * | | cleanup, assert on warning from postgres adapterYves Senn2013-05-081-1/+1
| * | | cleanup, switch arguments in assert_equal callsYves Senn2013-05-081-29/+29
* | | | test cleanup, replace `define_method` and `remove_method` with stubs.Yves Senn2013-05-281-5/+1
* | | | `implicit_readonly` is being removed in favor of calling `readonly` explicitlyYves Senn2013-05-272-14/+12
* | | | Fix the `:primary_key` option for `has_many` associations.Yves Senn2013-05-232-0/+9
* | | | Merge pull request #10714 from tkhr/extract_test_from_base_test.rb_in_ARCarlos Antonio da Silva2013-05-224-45/+54
|\ \ \ \
| * | | | Extract AR::Persistence#becomes's test code out from base_test.rbTakehiro Adachi2013-05-222-13/+13
| * | | | Extract AR::AttributeMethods#attribute_for_inspect's test code out from base_...Takehiro Adachi2013-05-222-8/+8
| * | | | Extract AR::Core#inspect and AR::Core.inspect's test code from base_test.rbTakehiro Adachi2013-05-222-24/+33
* | | | | Merge branch 'bindwhere'Aaron Patterson2013-05-211-0/+22
|\ \ \ \ \
| * | | | | avoid creating a set if no where values are removedAaron Patterson2013-05-211-0/+12
| * | | | | remove bind values for where clauses that were removedAaron Patterson2013-05-211-0/+10
| |/ / / /
* / / / / In batches test @total was assigned but not used. Use it in tests instead of ...Alexander Balashov2013-05-211-7/+5
|/ / / /