aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | adding more tests surrounding where_values_hashAaron Patterson2010-11-301-3/+19
| | | | | | | | | | | | |
| * | | | | | | | | | | | testing Relation#table_nameAaron Patterson2010-11-302-0/+25
| | | | | | | | | | | | |
| * | | | | | | | | | | | adding a test for ActiveRecord::RelationAaron Patterson2010-11-301-0/+56
| | | | | | | | | | | | |
| * | | | | | | | | | | | fix whitespace errorsAaron Patterson2010-11-301-2/+2
| | | | | | | | | | | | |
| * | | | | | | | | | | | making relationship merge cheaperAaron Patterson2010-11-301-3/+4
| | | | | | | | | | | | |
| * | | | | | | | | | | | cleaning up where_values_hashAaron Patterson2010-11-301-7/+7
| | | | | | | | | | | | |
| * | | | | | | | | | | | adding more tests surrounding where values hashAaron Patterson2010-11-291-0/+11
| | | | | | | | | | | | |
| * | | | | | | | | | | | testing attributes applied by default_scopeAaron Patterson2010-11-291-0/+5
| | | | | | | | | | | | |
| * | | | | | | | | | | | removing interpolate_sql from join associationsAaron Patterson2010-11-291-5/+1
| | | | | | | | | | | | |
| * | | | | | | | | | | | moving method to subclass that actually uses the methodAaron Patterson2010-11-292-1/+5
| | | | | | | | | | | | |
| * | | | | | | | | | | | test case on has_one :through after a destroyJohn Hawthorn2010-11-291-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [#6037 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * | | | | | | | | | | | Partialy revert f1c13b0dd7b22b5f6289ca1a09f1d7a8c7c8584bJosé Valim2010-11-2812-47/+48
| | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | |
| * | | | | | | | | | | removes a couple of redundant selfsXavier Noria2010-11-261-2/+2
| | | | | | | | | | | |
| * | | | | | | | | | | nil check unneeded ht. exvivaSantiago Pastorino2010-11-251-1/+1
| | | | | | | | | | | |
| * | | | | | | | | | | Remove explicit return.Emilio Tagua2010-11-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * | | | | | | | | | | Use ternary instead explicit return.Emilio Tagua2010-11-251-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * | | | | | | | | | | Remove return, we are already returning self.Emilio Tagua2010-11-251-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * | | | | | | | | | | Remove explicit return.Emilio Tagua2010-11-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * | | | | | | | | | | Reuse lock_col variable instead calling locking_column class method.Emilio Tagua2010-11-251-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * | | | | | | | | | | Rakefiles are executables, and rake loads rake, not rakefile coderaggi2010-11-251-1/+1
| | | | | | | | | | | |
| * | | | | | | | | | | Don't depend on rubygems loading thread (for Mutex)raggi2010-11-252-0/+2
| | | | | | | | | | | |
| * | | | | | | | | | | alias should be a SQL literalAaron Patterson2010-11-241-1/+1
| | | | | | | | | | | |
| * | | | | | | | | | | initialize instance variables in initialize... o_OAaron Patterson2010-11-241-2/+2
| | | | | | | | | | | |
| * | | | | | | | | | | adding a factory method to the join part for generating a table aliasAaron Patterson2010-11-242-1/+5
| | | | | | | | | | | |
| * | | | | | | | | | | use ARel rather than generate SQL stringsAaron Patterson2010-11-242-3/+4
| | | | | | | | | | | |
| * | | | | | | | | | | remove useless joinAaron Patterson2010-11-241-1/+1
| | | | | | | | | | | |
| * | | | | | | | | | | moving column_aliases to JoinDependencyAaron Patterson2010-11-242-10/+9
| | | | | | | | | | | |
| * | | | | | | | | | | reduce method callsAaron Patterson2010-11-241-1/+1
| | | | | | | | | | | |
| * | | | | | | | | | | If a nested_attribute is being marked for destruction and at the same time ↵Neeraj Singh2010-11-243-6/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | an attr_accessor value is being assigned then the value being assigned is being ignored. This patch is a fix for that issue. [#5939 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * | | | | | | | | | | Document the behavior of the dup method: does not preserve timestampsFranck Verrot2010-11-251-0/+1
| | | | | | | | | | | |
| * | | | | | | | | | | Typo in the comments of the clear_timestamp_attributes methodFranck Verrot2010-11-251-1/+1
| | | | | | | | | | | |
| * | | | | | | | | | | Dup should reset the timestamps as it is considered a new recordFranck Verrot2010-11-251-0/+11
| | | | | | | | | | | |
| * | | | | | | | | | | Testing that dup is resetting the timestampsFranck Verrot2010-11-251-0/+24
| | | | | | | | | | | |
| * | | | | | | | | | | removing ternaryAaron Patterson2010-11-231-1/+1
| | | | | | | | | | | |
| * | | | | | | | | | | breaking classes up in to respective filesAaron Patterson2010-11-235-574/+605
| | | | | | | | | | | |
| * | | | | | | | | | | fixing variable names. oops!Aaron Patterson2010-11-231-2/+2
| | | | | | | | | | | |
| * | | | | | | | | | | just wrap as a sql literalAaron Patterson2010-11-231-2/+1
| | | | | | | | | | | |
| * | | | | | | | | | | Do not send id for quoting twice if the primary key is string.Neeraj Singh2010-11-232-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [#6022 state:resolved]
| * | | | | | | | | | | updating changelog for dup and clone semanticsAaron Patterson2010-11-231-0/+11
| | | | | | | | | | | |
| * | | | | | | | | | | clone and dup are working on 1.8Aaron Patterson2010-11-232-3/+27
| | | | | | | | | | | |
| * | | | | | | | | | | converting clone test to dup testAaron Patterson2010-11-231-4/+4
| | | | | | | | | | | |
| * | | | | | | | | | | fixing dup regressionsAaron Patterson2010-11-235-28/+35
| | | | | | | | | | | |
| * | | | | | | | | | | fixing more dup testsAaron Patterson2010-11-232-25/+26
| | | | | | | | | | | |
| * | | | | | | | | | | renaming duplication test to dup testAaron Patterson2010-11-231-1/+1
| | | | | | | | | | | |
| * | | | | | | | | | | adding a specific case for clone testingAaron Patterson2010-11-232-25/+33
| | | | | | | | | | | |
| * | | | | | | | | | | testing duped attributes are independentAaron Patterson2010-11-231-0/+18
| | | | | | | | | | | |
| * | | | | | | | | | | initialize_clone can go awayAaron Patterson2010-11-231-5/+0
| | | | | | | | | | | |
| * | | | | | | | | | | making sure changes to dup will not touch originalAaron Patterson2010-11-231-0/+10
| | | | | | | | | | | |
| * | | | | | | | | | | dup keeps changesAaron Patterson2010-11-232-30/+38
| | | | | | | | | | | |
| * | | | | | | | | | | dup is working betterAaron Patterson2010-11-233-8/+51
| | | | | | | | | | | |