| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
should return self.
|
|
|
|
| |
#replace which was previously incorrect, but the test passed due to the fact that to_a was not duping.
|
|
|
|
| |
is converted to SQL
|
|
|
|
| |
calculate
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
find(:last, ...)
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
this can affect validations/callbacks/etc inside the record itself [#6252 state:resolved]
|
|
|
|
| |
consistency fix
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
inside the conditional
|
|
|
|
| |
[#6257 state:resolved]
|
| |
|
| |
|
|
|
|
| |
replaced
|
| |
|
|
|
|
| |
rather than a hash which is passed to apply_finder_options. This allows more flexibility in how the scope is created, for example because scope.where(a, b) and scope.where(a).where(b) mean different things.
|
| |
|
| |
|
| |
|
|
|
|
| |
removing test_polymorphic_has_many_going_through_join_model_with_disabled_include, since this specifies different behaviour for an association than for a regular scope. It seems reasonable to expect scopes and association proxies to behave in roughly the same way rather than having subtle differences.
|
| |
|
|
|
|
| |
inherit from it
|
|
|
|
| |
Required a fix to ActiveRecord::Relation#merge for properly merging create_with_value. This also fixes a situation where the type condition was appearing twice in the resultant SQL query.
|
| |
|
|
|
|
| |
other things
|
| |
|
|
|
|
| |
all use arel rather than SQL strings
|
| |
|
|
|
|
| |
times should append it to the @target multiple times [#5964 state:resolved]
|
| |
|
| |
|
| |
|