Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Deprecate ActiveRecord::Base.colorize_logging. | José Valim | 2010-01-13 | 1 | -8/+7 |
| | |||||
* | Delay building arel relation as long as possible for improved introspection | Pratik Naik | 2010-01-12 | 1 | -2/+2 |
| | |||||
* | Merge | David Heinemeier Hansson | 2010-01-03 | 1 | -21/+13 |
|\ | |||||
| * | Ensure using proper engine for Arel::Table | Pratik Naik | 2010-01-04 | 1 | -2/+8 |
| | | |||||
| * | Make Relation#includes behave exactly like the existing :include option | Pratik Naik | 2010-01-03 | 1 | -11/+2 |
| | | |||||
| * | Add Relation#includes to be an equivalent of current finder option :include | Pratik Naik | 2010-01-03 | 1 | -1/+1 |
| | | |||||
| * | Get rid of Model.construct_finder_arel_with_includes. Use ↵ | Pratik Naik | 2010-01-03 | 1 | -13/+8 |
| | | | | | | | | construct_finder_arel instead | ||||
* | | Changed ActiveRecord::Base.store_full_sti_class to be true by default ↵ | David Heinemeier Hansson | 2010-01-03 | 1 | -1/+1 |
|/ | | | | reflecting the previously announced Rails 3 default [DHH] | ||||
* | Rename Model.arel_table to Model.active_relation | Pratik Naik | 2010-01-02 | 1 | -13/+13 |
| | |||||
* | Rename Model.engine to active_relation_engine. Cache arel_table and the ↵ | Pratik Naik | 2010-01-02 | 1 | -8/+13 |
| | | | | method takes no arguments now | ||||
* | Use arel for building the STI type condition | Pratik Naik | 2010-01-01 | 1 | -7/+7 |
| | |||||
* | Use PredicateBuilder for sql hash sanitization | Pratik Naik | 2010-01-01 | 1 | -23/+9 |
| | |||||
* | Add Relation#delete [Pratik Naik, Emilio Tagua] | Pratik Naik | 2010-01-01 | 1 | -3/+3 |
| | |||||
* | Kick AR logging back to life and move ControllerRuntime inside ↵ | José Valim | 2009-12-30 | 1 | -1/+0 |
| | | | | ActiveRecord::Rails. | ||||
* | Replace Base#safe_to_array with Array.wrap | Pratik Naik | 2009-12-29 | 1 | -14/+2 |
| | |||||
* | Use relation#delete_all for Model.delete_all | Pratik Naik | 2009-12-29 | 1 | -5/+1 |
| | |||||
* | Migrate all the calculation methods to Relation | Pratik Naik | 2009-12-29 | 1 | -0/+4 |
| | |||||
* | Add Model.having and Relation#having | Pratik Naik | 2009-12-29 | 1 | -14/+3 |
| | |||||
* | Remove the todo note for arel#lock | Pratik Naik | 2009-12-28 | 1 | -1/+0 |
| | |||||
* | Add Model.readonly and association_collection#readonly finder method | Pratik Naik | 2009-12-28 | 1 | -1/+1 |
| | |||||
* | Remove locking related unused code | Pratik Naik | 2009-12-28 | 1 | -8/+0 |
| | |||||
* | Remove unused construct_finder_sql | Pratik Naik | 2009-12-28 | 1 | -4/+0 |
| | |||||
* | Add Model.lock and relation#lock now that arel has locking | Pratik Naik | 2009-12-28 | 1 | -1/+4 |
| | |||||
* | Add Model.from and association_collection#from finder methods | Pratik Naik | 2009-12-28 | 1 | -1/+1 |
| | |||||
* | Use relation.from when constructing a relation | Pratik Naik | 2009-12-28 | 1 | -1/+1 |
| | |||||
* | Add relation.destroy_all | Pratik Naik | 2009-12-27 | 1 | -1/+1 |
| | |||||
* | Make Model.destroy_all use new finders | Pratik Naik | 2009-12-27 | 1 | -1/+1 |
| | |||||
* | Make Model.find(:last) use relations | Pratik Naik | 2009-12-27 | 1 | -42/+5 |
| | |||||
* | Make Model.all just a wrapper for find(:all) | Pratik Naik | 2009-12-27 | 1 | -9/+3 |
| | |||||
* | Make Model.find(:first, ..) use relations | Pratik Naik | 2009-12-27 | 1 | -24/+2 |
| | |||||
* | Make Model.exists? use relation.exists? | Pratik Naik | 2009-12-27 | 1 | -12/+7 |
| | |||||
* | Make Model.find(:all) use relations | Pratik Naik | 2009-12-27 | 1 | -1/+1 |
| | |||||
* | Add relation.from as a temporary workaround until arel relation has .from option | Pratik Naik | 2009-12-27 | 1 | -1/+2 |
| | |||||
* | Make Model.find(ids) use relations | Pratik Naik | 2009-12-27 | 1 | -63/+11 |
| | |||||
* | Make Model.all return an array rather than a relation for consistency. Use ↵ | Pratik Naik | 2009-12-27 | 1 | -2/+2 |
| | | | | Model.scoped to get a relation | ||||
* | Fix dynamic finder docs | Pratik Naik | 2009-12-27 | 1 | -3/+2 |
| | |||||
* | Make Model.find_or_create_by_* and find_or_initialize_by_* use relations and ↵ | Pratik Naik | 2009-12-27 | 1 | -54/+1 |
| | | | | remove method caching | ||||
* | Make Model.find_by_* and Model.find_all_by_* use relations and remove ↵ | Pratik Naik | 2009-12-27 | 1 | -54/+22 |
| | | | | dynamic method caching | ||||
* | Ensure all the finder methods respect scoping | Pratik Naik | 2009-12-26 | 1 | -1/+1 |
| | |||||
* | Rename Model.conditions and relation.conditions to .where | Pratik Naik | 2009-12-26 | 1 | -6/+6 |
| | |||||
* | Add Model.select/group/order/limit/joins/conditions/preload/eager_load class ↵ | Pratik Naik | 2009-12-26 | 1 | -6/+4 |
| | | | | | | | | | methods returning a lazy relation. Examples : posts = Post.select('id).order('name') # Returns a lazy relation posts.each {|p| puts p.id } # Fires "select id from posts order by name" | ||||
* | Replace reset_counter_cache with reset_counters that has API inline with ↵ | Gabe da Silveira | 2009-12-03 | 1 | -8/+13 |
| | | | | | | | | existing update_counters method [#1211 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Implement ActiveRecord#reset_counter_cache | Mike Breen | 2009-12-02 | 1 | -0/+18 |
| | | | | | | [#1211 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Revert "Split arel_table into method to get a relation and another to ↵ | Jeremy Kemper | 2009-11-13 | 1 | -6/+6 |
| | | | | | | memoize the default relation." This reverts commit bd51790895fc75a3b4e19e8dd7aa6dc389d77068. | ||||
* | Split arel_table into method to get a relation and another to memoize the ↵ | Jeremy Kemper | 2009-11-13 | 1 | -6/+6 |
| | | | | default relation. | ||||
* | Symbol#to_proc is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 1 | -1/+0 |
| | |||||
* | Move validator, human_name and human_attribute_name to ActiveModel, remove ↵ | José Valim | 2009-10-20 | 1 | -27/+5 |
| | | | | | | deprecated error messages and add i18n_scope and lookup_ancestors. Signed-off-by: Carl Lerche <carllerche@mac.com> | ||||
* | Refactoring attributes/types [#3348 state:resolved] | Eric Chapweske | 2009-10-17 | 1 | -31/+7 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Unify benchmark APIs. | José Valim | 2009-10-15 | 1 | -33/+3 |
| | |||||
* | Update Orchestra instrumentations and move part of logging to Orchestra. | José Valim | 2009-10-15 | 1 | -0/+2 |
| |