aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #195 from bigfix/active_model_include_serializationJosé Valim2011-07-182-143/+133
|\
| * Move to_xml tests to xml_serialization_test.rbJohn Firebaugh2011-07-172-143/+133
* | Refactor test case to use anonymous class - Thank you @tenderlovePrem Sichanugrist2011-07-181-13/+8
* | Raise an ArgumentError if user passing less number of argument in the dynamic...Prem Sichanugrist2011-07-172-0/+23
* | Revert "Fix failure in test_preserves_existing_fixture_data from test/cases/f...Jon Leighton2011-07-171-2/+2
|/
* Merge pull request #2063 from elight/masterSantiago Pastorino2011-07-141-2/+27
|\
| * Fix and unit test for https://github.com/rails/rails/issues/2059Evan Light2011-07-141-2/+27
* | Merge pull request #1807 from caius/find_in_batches_id_bugSantiago Pastorino2011-07-141-0/+16
|\ \ | |/ |/|
| * Stop find_in_batches using the records after yielding.Caius Durling2011-06-211-0/+16
* | Fix failure in test_preserves_existing_fixture_data from test/cases/fixtures_...Jon Leighton2011-07-121-2/+2
* | Fix exception if old and new targets are both nil. Fixes #1471.Jon Leighton2011-07-123-1/+14
* | Merge pull request #1929 from sobrinho/masterSantiago Pastorino2011-07-111-0/+14
|\ \
| * | Create a test case for disable_referential_integrityGabriel Sobrinho2011-07-011-0/+14
* | | Merge pull request #1823 from gnarg/masterSantiago Pastorino2011-07-101-0/+8
|\ \ \
| * | | Log instrumentation name for exists? queriesJon Guymon2011-06-221-0/+8
* | | | to_key on a destroyed model should return nilSantiago Pastorino2011-07-091-1/+1
* | | | formatsAkira Matsuda2011-07-091-5/+5
* | | | fix AR having() not to raise NoMethodError when the given argument does not r...Akira Matsuda2011-07-091-0/+7
* | | | Foo.joins(:bar).includes(:bar) should result in a single query with :bar as a...Jon Leighton2011-07-091-0/+8
* | | | Merge pull request #2017 from Casecommons/active_record_lintJosé Valim2011-07-082-0/+12
|\ \ \ \
| * | | | ActiveRecord::Base should pass ActiveModel::Lint.Grant Hutchins & Peter Jaros2011-07-082-0/+12
* | | | | Destroy association habtm record before destroying the record itself. Fixes i...Tomas D'Stefano2011-07-082-0/+12
* | | | | Ensure that the foreign key gets set when doing record.create_association or ...Jon Leighton2011-07-081-0/+14
* | | | | Refactor PostgreSQLAdapter a bitDaniel Schierbeck2011-07-081-2/+2
|/ / / /
* | | | Use Enumerable#with_index. We're on Ruby > 1.8.7 (part II)Akira Matsuda2011-07-081-3/+1
* | | | Make `ActiveRecord::Batches#find_each` to not return `self`.knapo2011-07-071-0/+7
* | | | Fix bug in collection_singular_ids on has many through association with condi...Anatoliy Lysenko2011-07-061-0/+5
* | | | Merge pull request #1273 from jeremyf/feature-association-proxy-sendSantiago Pastorino2011-07-061-0/+9
|\ \ \ \
| * | | | Addresses an inconsistency in the ActiveRecord::Base.method_missing handling ...Jeremy Friesen2011-05-241-0/+9
* | | | | Merge pull request #1494 from anildigital/masterSantiago Pastorino2011-07-061-2/+2
|\ \ \ \ \
| * | | | | Fix failing test because of Timezone difference.Anil Wadghule2011-06-051-2/+2
* | | | | | Merge pull request #1979 from bogdan/association_sum_array_compatibilityJon Leighton2011-07-061-0/+4
|\ \ \ \ \ \
| * | | | | | Fixed AR::Relation#sum compatibility with Array#sumBogdan Gusiev2011-07-051-0/+4
* | | | | | | Merge pull request #1968 from bogdan/associations_find_array_compatibility2Santiago Pastorino2011-07-051-0/+4
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Fixed CollectionAssociation#find to be compatible with Array#findBogdan Gusiev2011-07-051-0/+4
* | | | | | | Only call set_owner_attributes for has_one association if target exists.Dieter Komendera2011-07-041-0/+11
|/ / / / / /
* | | | / / Reversing the changes done in c278a2c while still resolving #1857.Vijay Dev2011-07-021-5/+3
| |_|_|/ / |/| | | |
* | | | | Assign the association attributes to the associated record before the before_...Jon Leighton2011-06-303-2/+21
* | | | | cache the plural name on the reflection so we do not pay pluralize costs on j...Aaron Patterson2011-06-301-1/+1
* | | | | CommandRecorder should delegate in method_missing where possible. Fixes some ...Jon Leighton2011-06-301-1/+6
* | | | | Merge pull request #1574 from oriolgual/1571_ar_relation_order_no_longer_work...Aaron Patterson2011-06-281-0/+12
|\ \ \ \ \
| * | | | | Add more test casesOriol Gual2011-06-281-0/+8
| * | | | | Add failing testOriol Gual2011-06-281-0/+4
* | | | | | Fix test_finding_with_cross_table_order_and_limit for OracleRaimonds Simanovskis2011-06-281-3/+3
|/ / / / /
* | | | | Merge pull request #1857 from vijaydev/irreversible-migrationAaron Patterson2011-06-281-3/+5
|\ \ \ \ \
| * | | | | record unsupported methods in CommandRecorder instead of letting the unsuppor...Vijay Dev2011-06-251-3/+5
* | | | | | Merge pull request #1860 from dmathieu/comparisonAaron Patterson2011-06-281-0/+13
|\ \ \ \ \ \
| * | | | | | comparing different classes returns nilDamien Mathieu2011-06-261-0/+6
| * | | | | | allow comparison on model objects - Closes #1858Damien Mathieu2011-06-261-0/+7
| |/ / / / /
* | | | | | oops! remove debugging codesAaron Patterson2011-06-271-1/+0