aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Collapse)AuthorAgeFilesLines
* Remove objects from identity map if save! failed, otherwise finding again ↵Emilio Tagua2010-11-192-0/+16
| | | | the same record will have invalid attributes.
* Remove objects from identity map if save failed, otherwise finding again the ↵Emilio Tagua2010-11-192-1/+17
| | | | same record will have invalid attributes.
* Add test to show that when IdentityMap is disabled finders returns different ↵Emilio Tagua2010-11-191-4/+7
| | | | objects.
* Uncomment test and make it work.Emilio Tagua2010-11-191-2/+5
|
* Use yield instead block argument.Emilio Tagua2010-11-191-4/+4
|
* Disable identity map when loading associated records from habtm.Emilio Tagua2010-11-191-2/+4
|
* Prevent pushing duplicated records when using identity map.Emilio Tagua2010-11-191-1/+1
|
* Remove associated records from identity map if any raised an unexpected ↵Emilio Tagua2010-11-191-14/+19
| | | | exception.
* Use identity mapper only if enabled.Emilio Tagua2010-11-191-3/+3
|
* Remove object from identity map if transaction failed.Emilio Tagua2010-11-191-0/+1
|
* IdentityMap - Fixes problem with dirty attributesMarcin Raczkowski2010-11-193-5/+34
|
* IdentityMap - Adjustments to test casesMarcin Raczkowski2010-11-197-22/+62
|
* Looping prevention for autosave relations on validation and creationMarcin Raczkowski2010-11-191-3/+20
|
* IdentityMap - adding and removing of records on create/updateMarcin Raczkowski2010-11-192-5/+43
|
* IdentityMap - misc fixesMarcin Raczkowski2010-11-194-3/+13
| | | | | | - Added IdentityMap to be included into AR::Base - Fixed bug with Mysql namespace missing when running tests only for sqlite - Added sqlite as default connection
* IdentityMap - Tests for IMMarcin Raczkowski2010-11-196-1/+229
|
* IdentityMap - Adding Weakling and IM Base as concernMarcin Raczkowski2010-11-192-0/+66
|
* wtf vimAaron Patterson2010-11-191-1/+1
|
* fisting typeo, thanks @vinibaggioAaron Patterson2010-11-191-1/+1
|
* adding documentation for reversible migrationsAaron Patterson2010-11-192-1/+43
|
* adding Migration#change to the CHANGELOGAaron Patterson2010-11-191-0/+18
|
* fisting my spelling errorsAaron Patterson2010-11-191-6/+6
|
* testing a non-invertible migration caseAaron Patterson2010-11-191-3/+23
|
* invertable migrations are workingAaron Patterson2010-11-193-7/+20
|
* command recorder will record commands sent to a delegate objectAaron Patterson2010-11-192-3/+35
|
* adding invertable migration testAaron Patterson2010-11-191-0/+42
|
* updating documentationAaron Patterson2010-11-191-1/+7
|
* IrreversibleMigration is raised if we cannot invert the commandAaron Patterson2010-11-192-1/+12
|
* commands are reversedAaron Patterson2010-11-192-1/+8
|
* add and remove timestamps can be invertedAaron Patterson2010-11-191-0/+8
|
* inverting add_indexAaron Patterson2010-11-191-0/+5
|
* partial implementation of the command recorderAaron Patterson2010-11-193-0/+122
|
* this return value is not used, so stop returning itAaron Patterson2010-11-191-4/+1
|
* instantiate the delegate object after initialize is defined so that our ↵Aaron Patterson2010-11-191-3/+4
| | | | initialize method actually gets called
* connection is set from the connection pool during migrationsAaron Patterson2010-11-181-4/+10
|
* testing multiple ORd queriesAaron Patterson2010-11-181-0/+12
|
* removing space errorsAaron Patterson2010-11-182-2/+2
|
* Adapters can specify maximum number of ids they support in a list of expressionsAlex Rothenberg2010-11-183-5/+78
| | | | | (default is nil meaning unlimited but Oracle imposes a limit of 1000) Limit is used to make multiple queries when preloading associated has_many or habtm records
* group can be done by left side onlyAaron Patterson2010-11-171-6/+3
|
* When use where more than once on the same column, relation doesn't do an ↵Santiago Pastorino2010-11-171-0/+9
| | | | 'or' or 'in' with the values
* collapsing same table / column WHERE clauses to be OR [#4598 state:resolved]Aaron Patterson2010-11-171-4/+25
|
* use shorter form for sql literalsAaron Patterson2010-11-171-1/+1
|
* Fix bug with 0bb85ed9ffa9808926b46e8f7e59cab5b85ac19f which missed out a ↵Jon Leighton2010-11-171-1/+2
| | | | fixtures declaration in cascaded_eager_loading_test.rb
* replace and with && as per rails coding conventionNeeraj Singh2010-11-181-1/+1
|
* remove the rescue block by returning a not asking Base for lookup_ancestors. ↵Neeraj Singh2010-11-171-5/+2
| | | | It was also marked for later optimization.
* adding an initialize with name and version defaultsAaron Patterson2010-11-171-4/+5
|
* updating generatorsAaron Patterson2010-11-173-6/+6
|
* fixing more documentationAaron Patterson2010-11-171-3/+3
|
* fixing documentation, removing unused AS filesAaron Patterson2010-11-171-15/+12
|
* fixing indentation since these methods are not class methodsAaron Patterson2010-11-171-83/+83
|