aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Collapse)AuthorAgeFilesLines
* removing space errorsAaron Patterson2010-10-221-45/+45
|
* made a pass in AR's schema.rb to keep (most) create statements in ↵Xavier Noria2010-10-221-59/+60
| | | | lexicographic order, and fixed an FK
* has_one maintains the association with separate after_create/after_updateXavier Noria2010-10-225-1/+78
| | | | | This way parent models can get their own after_create and after_update callbacks fired after has_one has done its job.
* adding a test to ensure offsets with no limits will work [#5316 state:resolved]Aaron Patterson2010-10-201-0/+6
|
* use grep instead of select + is_a?Aaron Patterson2010-10-201-2/+2
|
* use a map and flatten to avoid << calls on arrayAaron Patterson2010-10-201-7/+5
|
* only call `column_methods_hash` once, use array math for faster test of ↵Aaron Patterson2010-10-201-5/+4
| | | | existence
* roll up weird method to meta programmed methodAaron Patterson2010-10-201-11/+5
|
* use zip + Hash.[] rather than looping with an indexAaron Patterson2010-10-201-3/+1
|
* extract options is not necessaryAaron Patterson2010-10-201-1/+0
|
* removing unused variableAaron Patterson2010-10-201-1/+1
|
* removing unused variablesAaron Patterson2010-10-201-2/+2
|
* default scope merge where clauses [#5488 state:resolved]Jan2010-10-203-0/+19
|
* reduce duplicate where removal to one loopAaron Patterson2010-10-201-15/+13
|
* swap out some n^2 for some nAaron Patterson2010-10-191-7/+13
|
* dup rather than create so many arraysAaron Patterson2010-10-191-2/+2
|
* use array math rather than looping through the arrayAaron Patterson2010-10-191-1/+1
|
* use shortened version to generate a sql literalAaron Patterson2010-10-191-1/+1
|
* avoid cloning if we do not need to cloneAaron Patterson2010-10-191-0/+2
|
* avoid creating a proc object when possibleAaron Patterson2010-10-191-2/+2
|
* scopes can take an object that responds to `call`Aaron Patterson2010-10-193-1/+14
|
* avoid creating the proc object if possibleAaron Patterson2010-10-191-2/+2
|
* default scope can accept any object that responds to #callAaron Patterson2010-10-192-1/+19
|
* Allow default_scope to accept a Proc.Tim Morgan2010-10-193-1/+23
|
* Fix SQLite adapter name [#5842 state:resolved]Anil Wadghule2010-10-193-7/+7
|
* "instance_methods" includes public and protectedAaron Patterson2010-10-191-1/+1
|
* Use ALTER INDEX syntax to rename an indexMichał Łomnicki2010-10-191-0/+4
|
* Merge CHANGELOGs from 3-0-stableSantiago Pastorino2010-10-181-0/+4
|
* No need for parenthesis hereSantiago Pastorino2010-10-171-1/+1
|
* no need to check for nilNeeraj Singh2010-10-172-4/+4
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* replace if ! with unlessNeeraj Singh2010-10-171-1/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* should sort these ids before asserting they are equal!Aaron Patterson2010-10-151-1/+1
|
* testing that symbols work as sql literalsAaron Patterson2010-10-151-0/+5
|
* in regexps, the dot in a character class is not a metacharacterXavier Noria2010-10-152-3/+3
|
* #transaction on the instance level should take options as wellCarl Lerche2010-10-142-2/+23
|
* Revert 0c0b0aa0f223523331afdc157fb3992a121bf497 which introduced a security ↵Michael Koziarski2010-10-152-23/+20
| | | | | | | | | | vulnerability. This addresses CVE-2010-3933 Conflicts: activerecord/lib/active_record/nested_attributes.rb
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-10-141-10/+0
|\
| * Remove doc for debugging callbacks. Methods don't exist in Rails masterRafael Mendonça França2010-10-131-10/+0
| |
* | Do not treat information about skipped migrations as WARNINGs but as a ↵Piotr Sarnacki2010-10-141-1/+1
| | | | | | | | NOTEs, also puts to stdin
* | clear any stale connections before messing with threaded testsAaron Patterson2010-10-131-0/+1
| |
* | Update the ActiveRecord tests to not set unused optionsCarl Lerche2010-10-133-19/+0
| | | | | | This makes a test fail, but it is revealing a bug in Arel master.
* | Update the PostgreSQL adapter documentationCarl Lerche2010-10-131-2/+0
| |
* | rb_thread_select should always be used in DB drivers when available.Carl Lerche2010-10-131-1/+1
| |
* | Delete unused methods in JoinAssociationJon Leighton2010-10-131-8/+0
| |
* | Renaming and formatting changes in JoinDependencyJon Leighton2010-10-132-49/+56
| |
* | Refactor JoinDependency and friends so that a JoinAssociation can produce an ↵Jon Leighton2010-10-132-157/+266
| | | | | | | | arbitrary number of joins, which will be needed in order to support nested through associations.
* | Add some tests for functionality in JoinAssociation which already exists but ↵Jon Leighton2010-10-137-12/+43
| | | | | | | | was previously untested
* | stop using deprecated arel APIAaron Patterson2010-10-121-2/+2
| |
* | dry up column type testingAaron Patterson2010-10-121-5/+5
| |
* | all columns respond to string_to_binary, so no need to check respond_to?Aaron Patterson2010-10-123-5/+19
| |