aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* read_attribute_before_type_cast should accept symbolNeeraj Singh2013-05-111-0/+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
* | Merge pull request #10458 from bwbuchanan/issue-10451Rafael Mendonça França2013-05-041-0/+12
|\ \
| * | Make SchemaDumper emit "id: :uuid" when appropriate. Fixes #10451.Brian Buchanan2013-05-031-0/+12
* | | Squashed commit of the following:Aaron Patterson2013-05-031-2/+0
|/ /
* | Do not overwrite manually built records during one-to-one nested attribute as...Olek Janiszewski2013-05-031-0/+14
* | Merge pull request #10417 from jholton/fix_association_auto_saveJon Leighton2013-05-031-3/+19
|\ \
| * | destroys association records before saving/inserting new association recordsJohnny Holton2013-05-021-3/+19
* | | Fix broken mysql testJon Leighton2013-05-032-32/+22
* | | Add test for `AR::Base#to_param`Takehiro Adachi2013-05-021-1/+6
|/ /
* | Merge pull request #10396 from tkhr/extract-test-code-from-base_test.rbCarlos Antonio da Silva2013-05-012-73/+82
|\ \
| * | Extract tests code out from AR's base_test.rb to integration_test.rbTakehiro Adachi2013-05-022-73/+82
| |/
* | Merge pull request #7839 from chancancode/handle_aliased_attributes_in_ar_rel...Aaron Patterson2013-05-014-1/+24
|\ \
| * | Handle aliased attributes in ActiveRecord::Relation.Godfrey Chan2013-05-014-1/+24
* | | Improve docs for postgresql with uuid primary keys [ci skip]Carlos Antonio da Silva2013-05-011-1/+0
|/ /
* / allow override of uuid_generate_v4() default by passing default: nilChad Moone2013-05-011-0/+31
|/
* Mute psql output when running rake db:schema:loadGodfrey Chan2013-04-301-1/+1
* Fix #8856 Ensure has_one association=(associate) triggers save.Chris Thompson2013-04-301-0/+16
* Abort a rake task when missing db/structure.sql like `db:schema:load` task.kennyj2013-05-011-0/+7
* Delegate #unscope query methodCarlos Antonio da Silva2013-04-281-0/+10
* Merge pull request #10368 from demands/fix-typoGuillermo Iguaran2013-04-281-1/+1
|\
| * Fix typo in serialized_attribute_test. [ci skip]Max Edmands2013-04-281-1/+1
* | fixes a test, and explains why AR::AttributeMethods checks defined?(@attribut...Xavier Noria2013-04-281-5/+2
|/
* adding test for the symbol refsAaron Patterson2013-04-261-0/+7
* Move method used only in the test to the test code itselfIvan Kataitsev2013-04-251-0/+9
* Added testcase for #10067 and a CHANGELOG entry about this change.kennyj2013-04-251-0/+14
* Removed unused associationsAndrew White2013-04-241-2/+0
* Reset the primary key for other testsAndrew White2013-04-241-0/+2
* added test cases for #10197Adam Gamble2013-04-241-0/+56
* Revert "Revert "`belongs_to :touch` behavior now touches old association when...Andrew White2013-04-241-0/+46
* Remove test case also related to the belongs_to touch featureDavid Heinemeier Hansson2013-04-231-20/+0
* Revert "`belongs_to :touch` behavior now touches old association when transit...David Heinemeier Hansson2013-04-231-26/+0
* When empty options passed to having clause having_values was [nil] but should...Fyodor2013-04-231-0/+8
* Merge pull request #10295 from senny/10237_dirty_with_nullable_datetimeCarlos Antonio da Silva2013-04-221-3/+5
|\