aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* 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
|/ /
* | Merge pull request #10692 from vipulnsward/fix_test_3José Valim2013-05-191-1/+1
|\ \
| * | Fix wrong `case_sensitive` in uniqueness validity testVipul A M2013-05-201-1/+1
* | | Fix typo in test name and documentationVipul A M2013-05-202-2/+2
|/ /
* | Merge pull request #10676 from tkhr/add-test-to-counter_cache_test.rbRafael Mendonça França2013-05-185-4/+18
|\ \
| * | Fix tests which started to fail due to commit 0123c39f41e2062311b2197e6e230ef...Takehiro Adachi2013-05-182-4/+4
| * | Add test to AR's counter_cache_test.rbTakehiro Adachi2013-05-183-0/+14
* | | include bind values from the default scopeAaron Patterson2013-05-171-4/+1
|/ /
* | test refactorAaron Patterson2013-05-161-5/+2
* | Add more data to AR::UnknownAttributeErrorBogdan Gusiev2013-05-161-0/+12
* | Merge pull request #10619 from alno/top_level_array_in_postgres_jsonAaron Patterson2013-05-161-0/+14
|\ \
| * | Support array as root element in JSONAlexey Noskov2013-05-141-0/+14
* | | add failing test exposing mysql adapter tinyint bugphinze2013-05-151-3/+16
* | | Merge branch 'master' into normalizecbAaron Patterson2013-05-136-15/+48
|\| |
| * | Merge pull request #10577 from vipulnsward/fix_method_typosRafael Mendonça França2013-05-123-3/+3
| |\ \
| | * | Fix class and method name typosVipul A M2013-05-123-3/+3
| * | | Merge pull request #10556 from Empact/deprecate-schema-statements-distinctRafael Mendonça França2013-05-121-12/+24
| |/ /
| * | Call assume_migrated_upto_version on connectionKyle Stevens2013-05-111-0/+20
| * | read_attribute_before_type_cast should accept symbolNeeraj Singh2013-05-111-0/+1
* | | callbacks are wrapped with lambdasAaron Patterson2013-05-101-1/+1
|/ /
* | Merge pull request #6792 from Empact/postgres-distinctJon Leighton2013-05-102-0/+46
|\ \
| * | Fix that #exists? can produce invalid SQL: "SELECT DISTINCT DISTINCT"Ben Woosley2013-05-102-0/+46
* | | Don't try to EXPLAIN select_db callsDaniel Schierbeck2013-05-101-0/+5
* | | Set the inverse when association queries are refinedJon Leighton2013-05-101-0/+13
|/ /
* | Merge pull request #10521 from yahonda/sanitize_oracleRafael Mendonça França2013-05-081-5/+4
|\ \ | |/ |/|
| * Remove current_adapter? from test_sanitize_sql_hash_handles_associationsYasuo Honda2013-05-081-5/+4
* | Created a method to automatically find inverse associations and cachewangjohn2013-05-077-5/+89
* | Revert "Merge pull request #10455 from patricksrobertson/bigserial_id_not_ide...Aaron Patterson2013-05-071-29/+0
* | Handle other pk types in PostgreSQL gracefully.Patrick Robertson2013-05-071-0/+29
|/
* Merge pull request #10489 from greenriver/ar_counter_cache_multiple_destroyRafael Mendonça França2013-05-061-0/+20
|\
| * Confirm a record has not already been destroyed before decrementingBen Tucker2013-05-061-0/+20
* | Fix test asserting the sanitized SQL hash differently to some adaptersRafael Mendonça França2013-05-061-1/+7
* | Merge pull request #10352 from zohlgren/fix_activerecord_sanitization_sanitiz...Rafael Mendonça França2013-05-061-0/+4
|\ \
| * | Fix bug in ActiveRecord::Sanitization#sanitize_sql_hash_for_conditionsZach Ohlgren2013-05-061-0/+4
* | | fix failing test caused by 3771e4d511Neeraj Singh2013-05-061-2/+2
|/ /
* | raise IrreversibleMigration if no column givenNeeraj Singh2013-05-061-0/+28
* | fix to remove warning on postgres adapter test.Akshay Khole2013-05-051-1/+1