aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Collapse)AuthorAgeFilesLines
* Don't double assign attributes - closes #1467.Andrew White2011-06-031-1/+0
|
* Fix broken test. You know, the merge button will be the end of us...Jon Leighton2011-06-011-3/+3
|
* Merge pull request #1385 from smartinez87/dropAaron Patterson2011-06-011-1/+1
|\ | | | | #drop_table accepts no options now.
| * #drop_table accepts no options now.Sebastian Martinez2011-05-281-1/+1
| |
* | Adding commentArun Agrawal2011-06-011-0/+1
| |
* | AttributeMethodTest test fix #jrubyVishnu Atrai2011-06-011-1/+5
| |
* | Fix issue #1272Brian Mathiyakom2011-06-014-10/+24
| | | | | | | | | | Set reverse_order_value when asked to reverse_order(). Do the actual reversal in build_arel.
* | Add missing require to fix the CIJon Leighton2011-06-011-0/+1
| |
* | Isolated PostgreSQL test into PostgreSQL folderPrem Sichanugrist2011-05-312-20/+29
| |
* | Raise NameError instead of ArgumentError in ActiveSupport::DependenciesAndrew White2011-06-012-1/+7
| | | | | | | | | | | | | | | | ActiveSupport::Dependencies now raises NameError if it finds an existing constant in load_missing_constant. This better reflects the nature of the error which is usually caused by calling constantize on a nested constant. Closes #1423
* | added an alias for new to build to the AR collection proxy, this corrects an ↵Josh Kalderimis2011-06-014-10/+27
| | | | | | | | issue where the collection proxies were not consistent
* | Revert "[activerecord][postgresql] verify if table has a schema(not ↵Jon Leighton2011-05-311-5/+6
| | | | | | | | | | | | public)". This caused a test breakage. See #1410 for details. This reverts commit c44418ea4e09cc81da47edbc9ac5f31c7e32c1b4.
* | Ensure that calculations properly override the select value even if it's set ↵Jon Leighton2011-05-312-2/+7
| | | | | | | | in the default scope. Fixes #1395.
* | Failing test for aggregating on default_scope with selectErik Fonselius2011-05-312-0/+9
| |
* | Only save the record once when calling create! on a collection association. ↵Jon Leighton2011-05-314-25/+45
| | | | | | | | Fixes #1360.
* | Tests for issue #1360Farley Knight2011-05-312-0/+24
| |
* | Implementing @dmathieu's cleaner fix from #1425. Unfortunately he deleted ↵Jon Leighton2011-05-311-8/+5
| | | | | | | | the branch so I cannot just merge it.
* | Reduce test noiseJon Leighton2011-05-311-20/+14
| |
* | Opening class CascadedEagerLoadingTest at once.Arun Agrawal2011-05-311-7/+3
| |
* | Adding comment to work with 1.8.7. Nested Attribute fix.Arun Agrawal2011-05-311-0/+3
| |
* | Fix nested attribute for memory record.Arun Agrawal2011-05-311-1/+5
| |
* | Merge pull request #1410 from lucasts/pg_schemaAaron Patterson2011-05-301-5/+11
|\ \ | | | | | | a little step to better postgresql schema support in rails
| * | [activerecord][postgresql] verify if table has a schema(not public)Lucas Stephanou2011-05-271-6/+5
| | |
| * | find sequences with pg schemas properlyLucas Stephanou2011-05-271-4/+11
| | |
* | | Corrected some typos and American vs. Queen's English issuesLee Reilly2011-05-293-3/+3
| |/ |/|
* | Merge pull request #1384 from amatsuda/simplify_drop_tableAaron Patterson2011-05-283-10/+2
|\ \ | | | | | | Remove unused options from drop_table
| * | No need to pass options which is never usedAkira Matsuda2011-05-291-2/+2
| | |
| * | No need to override for just calling superAkira Matsuda2011-05-292-8/+0
| | |
* | | Use change in place of up and down in sessions table migrationVijay Dev2011-05-281-5/+1
|/ /
* | Disable IdentityMap by default for ActiveRecord testingAkira Matsuda2011-05-281-2/+2
| | | | | | | | because enabling IM by default will possibly hide some bugs on 3.1 default behavior
* | stop using boolean expressions because of the side effectsAaron Patterson2011-05-271-1/+4
| |
* | Merge pull request #1365 from gnufied/sqlite3Aaron Patterson2011-05-272-2/+2
|\ \ | | | | | | close statment only if its not closed
| * | delegate connection and column_hash calls directly to modelHemant Kumar2011-05-281-1/+1
| | |
| * | close statment only if its not closedHemant Kumar2011-05-281-1/+1
| | |
* | | Merge pull request #1229 from workmad3/masterAaron Patterson2011-05-272-2/+16
|\ \ \ | |/ / |/| | Fix for Issue #1205
| * | Added a test to check for correct behaviour with no options in add_index ↵David Workman2011-05-241-0/+6
| | | | | | | | | | | | command recorder
| * | Using .try to test for the existence of a method option in a nil-resistent ↵David Workman2011-05-231-5/+2
| | | | | | | | | | | | manner. Inlined the determination of the options hash for reversing using a ternary operator. Shortens the method in a way that keeps the code neat
| * | Neatened up the invert_add_index method as per suggestonDavid Workman2011-05-231-2/+3
| | |
| * | Simple fix for correctly inverting an add_index migration when a name has ↵David Workman2011-05-232-2/+12
| | | | | | | | | | | | been provided
* | | work around bug in the sqlite3 bindings. fixes #1289Aaron Patterson2011-05-271-0/+1
| | |
* | | fixing test for mysql2Aaron Patterson2011-05-271-5/+2
| |/ |/|
* | adding a test for #1322Aaron Patterson2011-05-261-0/+15
| |
* | Merge pull request #1323 from fx/association_primary_keyJon Leighton2011-05-262-1/+11
|\ \ | | | | | | use association_primary_key in AssociationScope#add_constraints
| * | added assertion for non-standard primary_key on models used in the ↵Marian Rudzynski2011-05-261-0/+3
| | | | | | | | | | | | primary_key test
| * | use association_primary_key in AssociationScope#add_constraintsMarian Rudzynski2011-05-262-1/+8
| | |
* | | Merge pull request #1318 from TheEmpty/masterJon Leighton2011-05-263-19/+0
|\ \ \ | | | | | | | | Resolve issue #534
| * | | Removes a now needless test - via GithubMohammad Typaldos2011-05-261-8/+0
| | | |
| * | | Removes the restriction on primary key when joining in a habtm && test that ↵Mohammad El-Abid2011-05-263-15/+4
| |/ / | | | | | | | | | it was properly removed
* | | Don't merge base opts into includes when serializing ARsJohn Mileham2011-05-261-6/+2
| | | | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/serialization.rb
* | | Failing test - JSON serialization shouldn't merge base opts into include opts.John Mileham2011-05-261-0/+9
|/ /