aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* these methods are no longer neededAaron Patterson2010-11-171-8/+0
|
* updating CHANGELOGAaron Patterson2010-11-171-0/+9
|
* do not need these accessorsAaron Patterson2010-11-171-8/+0
|
* testing instance based migrationsAaron Patterson2010-11-172-0/+40
|
* singleton method added is no longer neededAaron Patterson2010-11-171-19/+1
|
* schema migrations work as instancesAaron Patterson2010-11-173-6/+11
|
* converted migrations to support instance methodsAaron Patterson2010-11-173-14/+40
|
* fixing assertions so error messages will be more helpfulAaron Patterson2010-11-171-4/+4
|
* Update the version.rb files to include a PRE partCarl Lerche2010-11-161-2/+2
|
* removing many unused variablesAaron Patterson2010-11-1615-30/+23
|
* super automatically passes on the implicit blockAaron Patterson2010-11-161-5/+1
|
* use unless instead of if !Aaron Patterson2010-11-161-1/+1
|
* removing space errorsAaron Patterson2010-11-162-5/+5
|
* reloading an association will properly set attributes of instantiated ↵Aaron Patterson2010-11-162-1/+24
| | | | objects. Thanks Brian Palmer [#5802 state:resolved]
* refactoring uniq methodAaron Patterson2010-11-161-7/+4
|
* refactor to reduce method callsAaron Patterson2010-11-161-10/+19
|
* Fix ActiveRecord calculations when grouped by multiple fieldsAlexandru Catighera2010-11-162-14/+31
|
* Create directory before copying migrations if it does not existPiotr Sarnacki2010-11-162-0/+17
|
* revises RDoc of AR::Base#==Xavier Noria2010-11-161-1/+9
|
* Models should be equals even after destroyedSantiago Pastorino2010-11-163-4/+13
| | | | [#5978 state:committed]
* support finding by a ruby class [#5979 state:resolved]Aaron Patterson2010-11-152-0/+10
|
* adding more test coverage around finding with active record objectsAaron Patterson2010-11-151-0/+12
|
* use quoted id of single AR::Base objects in predicatesAaron Patterson2010-11-152-0/+8
|
* if association is already loaded and if a find operation is performed on the ↵Neeraj Singh2010-11-152-1/+13
| | | | | | already loaded association list with an empty hash then do not perform another sql [#5972 state:resolved]
* fisting a bunch of unused variable warningsAaron Patterson2010-11-154-20/+16
|
* Remove unused varSantiago Pastorino2010-11-141-1/+1
|
* Fix bug where size of through association is not correct after adding a ↵Jason Cheow2010-11-142-1/+7
| | | | | | | | has_many association (occurs only before main object has been reloaded). [#5968 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Finder gives a little bit more info on the lookup column (primary key)Franck Verrot2010-11-132-1/+11
|
* present? is better hereSantiago Pastorino2010-11-111-1/+1
|
* Merge remote branch 'drogus/plugin_new'José Valim2010-11-111-1/+1
|\ | | | | | | | | Conflicts: railties/test/generators/app_generator_test.rb
| * Use application's generators defaults as engine defaults to not force users ↵Piotr Sarnacki2010-11-021-1/+1
| | | | | | | | to manually set it
* | STI type is now updated when calling AR::Base.becomes on subclasses [#5953 ↵Franck Verrot2010-11-122-0/+10
| | | | | | | | state:resolved]
* | Use ! instead of notSantiago Pastorino2010-11-111-1/+1
| |
* | Fixed bug in active_record/nested_attributes where an empty string id caused ↵Santiago Pastorino2010-11-112-1/+9
| | | | | | | | | | | | | | | | an ActiveRecord::RecordNotFound error. Found by [Ben Tillman] [#5638 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Bump Arel up to 2.0.2Santiago Pastorino2010-11-111-1/+1
| |
* | Allow AR Session Store to be renewedJosé Valim2010-11-111-0/+1
| |