Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Relation#from to accept other Relation objects | Radoslav Stankov | 2012-05-17 | 1 | -1/+6 |
| | | | | Record.from("(#{sub_query.to_sql})") -> Record.from(sub_query) Record.from("(#{sub_query.to_sql}) a") -> Record.from(sub_query, :a) | ||||
* | fix interpolation for hash merging | Jon Leighton | 2012-04-25 | 1 | -4/+13 |
| | |||||
* | allow merging a single where value | Jon Leighton | 2012-04-25 | 1 | -0/+6 |
| | |||||
* | fix tests | Jon Leighton | 2012-04-13 | 1 | -6/+0 |
| | |||||
* | now we can just manipulate the values hash in #only and #except | Jon Leighton | 2012-04-13 | 1 | -0/+13 |
| | |||||
* | use a hash to store relation values | Jon Leighton | 2012-04-13 | 1 | -7/+7 |
| | |||||
* | remove apply_finder_options call from AssociationScope | Jon Leighton | 2012-04-13 | 1 | -0/+5 |
| | |||||
* | Make Relation#extending work like other value methods | Jon Leighton | 2012-04-13 | 1 | -8/+9 |
| | |||||
* | Add Relation#merge! | Jon Leighton | 2012-04-13 | 1 | -0/+5 |
| | |||||
* | assert valid keys | Jon Leighton | 2012-04-13 | 1 | -0/+4 |
| | |||||
* | Allow Relation#merge to take a hash | Jon Leighton | 2012-04-13 | 1 | -2/+20 |
| | |||||
* | we have no need for the ASSOCIATION_METHODS constant | Jon Leighton | 2012-04-13 | 1 | -8/+1 |
| | |||||
* | we don't need to test that constant assignment works | Jon Leighton | 2012-04-13 | 1 | -15/+0 |
| | |||||
* | Add bang versions of relation query methods. | Jon Leighton | 2012-04-12 | 1 | -0/+52 |
| | | | | | The main reason for this is that I want to separate the code that does the mutating from the code that does the cloning. | ||||
* | Deprecate inferred JOINs with includes + SQL snippets. | Jon Leighton | 2012-01-16 | 1 | -0/+6 |
| | | | | | | See the CHANGELOG for details. Fixes #950. | ||||
* | store references as a string | Jon Leighton | 2012-01-16 | 1 | -2/+2 |
| | |||||
* | Add ActiveRecord::Relation#references (#950) | Jon Leighton | 2012-01-16 | 1 | -1/+14 |
| | |||||
* | Revert "Deprecate implicit eager loading. Closes #950." | Jon Leighton | 2012-01-16 | 1 | -6/+0 |
| | | | | This reverts commit c99d507fccca2e9e4d12e49b4387e007c5481ae9. | ||||
* | correctly handle order calls after a reorder | Matt Jones + Scott Walker | 2012-01-03 | 1 | -1/+1 |
| | |||||
* | Deprecate implicit eager loading. Closes #950. | Jon Leighton | 2011-12-29 | 1 | -0/+6 |
| | |||||
* | Add ActiveRecord::Relation#uniq for toggling DISTINCT in the SQL query | Jon Leighton | 2011-11-05 | 1 | -1/+1 |
| | |||||
* | oops! remove debugging codes | Aaron Patterson | 2011-06-27 | 1 | -1/+0 |
| | |||||
* | default create_with_value to a hash so we can eliminate conditionals, add ↵ | Aaron Patterson | 2011-06-27 | 1 | -1/+2 |
| | | | | test surrounding create_with(nil) behavior | ||||
* | please use ruby -I lib:test path/to/test.rb, or export RUBY_OPT | Aaron Patterson | 2011-06-06 | 1 | -1/+1 |
| | |||||
* | Refactor Active Record test connection setup. Please see the ↵ | Jon Leighton | 2011-06-04 | 1 | -1/+1 |
| | | | | RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases. | ||||
* | Fix issue #1272 | Brian Mathiyakom | 2011-06-01 | 1 | -1/+1 |
| | | | | | Set reverse_order_value when asked to reverse_order(). Do the actual reversal in build_arel. | ||||
* | Evaluate default scopes at the last possible moment in order to avoid ↵ | Jon Leighton | 2011-04-12 | 1 | -1/+1 |
| | | | | problems with default scopes getting included into other scopes and then being unable to remove the default part via unscoped. | ||||
* | isolating eager_loading? method | Aaron Patterson | 2010-11-30 | 1 | -0/+11 |
| | |||||
* | making sure scope_for_create value is cached | Aaron Patterson | 2010-11-30 | 1 | -0/+12 |
| | |||||
* | surrounding scope_for_create behavior | Aaron Patterson | 2010-11-30 | 1 | -0/+14 |
| | |||||
* | Ruby 1.8, how does it work? | Aaron Patterson | 2010-11-30 | 1 | -6/+6 |
| | |||||
* | testing combined nodes are not traversed | Aaron Patterson | 2010-11-30 | 1 | -0/+9 |
| | |||||
* | adding more tests surrounding where_values_hash | Aaron Patterson | 2010-11-30 | 1 | -3/+19 |
| | |||||
* | testing Relation#table_name | Aaron Patterson | 2010-11-30 | 1 | -0/+21 |
| | |||||
* | adding a test for ActiveRecord::Relation | Aaron Patterson | 2010-11-30 | 1 | -0/+56 |