Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | made a pass in AR's schema.rb to keep (most) create statements in ↵ | Xavier Noria | 2010-10-22 | 1 | -59/+60 |
| | | | | lexicographic order, and fixed an FK | ||||
* | has_one maintains the association with separate after_create/after_update | Xavier Noria | 2010-10-22 | 5 | -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 Patterson | 2010-10-20 | 1 | -0/+6 |
| | |||||
* | use grep instead of select + is_a? | Aaron Patterson | 2010-10-20 | 1 | -2/+2 |
| | |||||
* | use a map and flatten to avoid << calls on array | Aaron Patterson | 2010-10-20 | 1 | -7/+5 |
| | |||||
* | only call `column_methods_hash` once, use array math for faster test of ↵ | Aaron Patterson | 2010-10-20 | 1 | -5/+4 |
| | | | | existence | ||||
* | roll up weird method to meta programmed method | Aaron Patterson | 2010-10-20 | 1 | -11/+5 |
| | |||||
* | use zip + Hash.[] rather than looping with an index | Aaron Patterson | 2010-10-20 | 1 | -3/+1 |
| | |||||
* | extract options is not necessary | Aaron Patterson | 2010-10-20 | 1 | -1/+0 |
| | |||||
* | removing unused variable | Aaron Patterson | 2010-10-20 | 1 | -1/+1 |
| | |||||
* | removing unused variables | Aaron Patterson | 2010-10-20 | 1 | -2/+2 |
| | |||||
* | default scope merge where clauses [#5488 state:resolved] | Jan | 2010-10-20 | 3 | -0/+19 |
| | |||||
* | reduce duplicate where removal to one loop | Aaron Patterson | 2010-10-20 | 1 | -15/+13 |
| | |||||
* | swap out some n^2 for some n | Aaron Patterson | 2010-10-19 | 1 | -7/+13 |
| | |||||
* | dup rather than create so many arrays | Aaron Patterson | 2010-10-19 | 1 | -2/+2 |
| | |||||
* | use array math rather than looping through the array | Aaron Patterson | 2010-10-19 | 1 | -1/+1 |
| | |||||
* | use shortened version to generate a sql literal | Aaron Patterson | 2010-10-19 | 1 | -1/+1 |
| | |||||
* | avoid cloning if we do not need to clone | Aaron Patterson | 2010-10-19 | 1 | -0/+2 |
| | |||||
* | avoid creating a proc object when possible | Aaron Patterson | 2010-10-19 | 1 | -2/+2 |
| | |||||
* | scopes can take an object that responds to `call` | Aaron Patterson | 2010-10-19 | 3 | -1/+14 |
| | |||||
* | avoid creating the proc object if possible | Aaron Patterson | 2010-10-19 | 1 | -2/+2 |
| | |||||
* | default scope can accept any object that responds to #call | Aaron Patterson | 2010-10-19 | 2 | -1/+19 |
| | |||||
* | Allow default_scope to accept a Proc. | Tim Morgan | 2010-10-19 | 3 | -1/+23 |
| | |||||
* | Fix SQLite adapter name [#5842 state:resolved] | Anil Wadghule | 2010-10-19 | 3 | -7/+7 |
| | |||||
* | "instance_methods" includes public and protected | Aaron Patterson | 2010-10-19 | 1 | -1/+1 |
| | |||||
* | Use ALTER INDEX syntax to rename an index | Michał Łomnicki | 2010-10-19 | 1 | -0/+4 |
| | |||||
* | Merge CHANGELOGs from 3-0-stable | Santiago Pastorino | 2010-10-18 | 1 | -0/+4 |
| | |||||
* | No need for parenthesis here | Santiago Pastorino | 2010-10-17 | 1 | -1/+1 |
| | |||||
* | no need to check for nil | Neeraj Singh | 2010-10-17 | 2 | -4/+4 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | replace if ! with unless | Neeraj Singh | 2010-10-17 | 1 | -1/+1 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | should sort these ids before asserting they are equal! | Aaron Patterson | 2010-10-15 | 1 | -1/+1 |
| | |||||
* | testing that symbols work as sql literals | Aaron Patterson | 2010-10-15 | 1 | -0/+5 |
| | |||||
* | in regexps, the dot in a character class is not a metacharacter | Xavier Noria | 2010-10-15 | 2 | -3/+3 |
| | |||||
* | #transaction on the instance level should take options as well | Carl Lerche | 2010-10-14 | 2 | -2/+23 |
| | |||||
* | Revert 0c0b0aa0f223523331afdc157fb3992a121bf497 which introduced a security ↵ | Michael Koziarski | 2010-10-15 | 2 | -23/+20 |
| | | | | | | | | | | vulnerability. This addresses CVE-2010-3933 Conflicts: activerecord/lib/active_record/nested_attributes.rb | ||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2010-10-14 | 1 | -10/+0 |
|\ | |||||
| * | Remove doc for debugging callbacks. Methods don't exist in Rails master | Rafael Mendonça França | 2010-10-13 | 1 | -10/+0 |
| | | |||||
* | | Do not treat information about skipped migrations as WARNINGs but as a ↵ | Piotr Sarnacki | 2010-10-14 | 1 | -1/+1 |
| | | | | | | | | NOTEs, also puts to stdin | ||||
* | | clear any stale connections before messing with threaded tests | Aaron Patterson | 2010-10-13 | 1 | -0/+1 |
| | | |||||
* | | Update the ActiveRecord tests to not set unused options | Carl Lerche | 2010-10-13 | 3 | -19/+0 |
| | | | | | | This makes a test fail, but it is revealing a bug in Arel master. | ||||
* | | Update the PostgreSQL adapter documentation | Carl Lerche | 2010-10-13 | 1 | -2/+0 |
| | | |||||
* | | rb_thread_select should always be used in DB drivers when available. | Carl Lerche | 2010-10-13 | 1 | -1/+1 |
| | | |||||
* | | Delete unused methods in JoinAssociation | Jon Leighton | 2010-10-13 | 1 | -8/+0 |
| | | |||||
* | | Renaming and formatting changes in JoinDependency | Jon Leighton | 2010-10-13 | 2 | -49/+56 |
| | | |||||
* | | Refactor JoinDependency and friends so that a JoinAssociation can produce an ↵ | Jon Leighton | 2010-10-13 | 2 | -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 Leighton | 2010-10-13 | 7 | -12/+43 |
| | | | | | | | | was previously untested | ||||
* | | stop using deprecated arel API | Aaron Patterson | 2010-10-12 | 1 | -2/+2 |
| | | |||||
* | | dry up column type testing | Aaron Patterson | 2010-10-12 | 1 | -5/+5 |
| | | |||||
* | | all columns respond to string_to_binary, so no need to check respond_to? | Aaron Patterson | 2010-10-12 | 3 | -5/+19 |
| | | |||||
* | | drying up true and false cases | Aaron Patterson | 2010-10-12 | 1 | -3/+7 |
| | |