Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make default_scope work with Relations | Pratik Naik | 2010-01-23 | 1 | -2/+3 |
| | |||||
* | Revert "Refactoring attributes/types" [#3348 state:open] | Pratik Naik | 2010-01-22 | 1 | -6/+31 |
| | | | | | | | | | | | | | | | | | This reverts commit f936a1f100e75082081e782e5cceb272885c2df7. Conflicts: activerecord/lib/active_record.rb activerecord/lib/active_record/base.rb Revert "Fixed: #without_typecast should only disable typecasting on the duplicated attributes" [#3387 state:open] This reverts commit 2831996483c6a045f1f38d8030256eb58d9771c3. Reason : It's not generating attribute methods properly, making object.column 5x slower. | ||||
* | Cache quoted_table_name | Pratik Naik | 2010-01-21 | 1 | -4/+5 |
| | |||||
* | Move update and update_all to Relation | Pratik Naik | 2010-01-20 | 1 | -70/+1 |
| | |||||
* | Base.merge_conditions is no longer needed | Pratik Naik | 2010-01-20 | 1 | -14/+0 |
| | |||||
* | Dont delegate Relation#update to arel | Pratik Naik | 2010-01-20 | 1 | -2/+2 |
| | |||||
* | Delegate delete_all to Relation | Pratik Naik | 2010-01-20 | 1 | -22/+1 |
| | |||||
* | Move destroy to Relation | Pratik Naik | 2010-01-20 | 1 | -28/+1 |
| | |||||
* | Remove Base.delete as it's same as Relation#delete | Pratik Naik | 2010-01-20 | 1 | -25/+1 |
| | |||||
* | Delegate exists? to Relation | Pratik Naik | 2010-01-20 | 1 | -35/+1 |
| | |||||
* | Make Relation#destroy_all handle all the cases | Pratik Naik | 2010-01-20 | 1 | -31/+1 |
| | |||||
* | Move array_of_strings? to Relation | Pratik Naik | 2010-01-20 | 1 | -4/+0 |
| | |||||
* | Remove stale methods constructing joins | Pratik Naik | 2010-01-20 | 1 | -28/+0 |
| | |||||
* | Delegate all finders to Relation | Pratik Naik | 2010-01-20 | 1 | -115/+1 |
| | |||||
* | with_scope no longer needs :reverse_merge | Pratik Naik | 2010-01-20 | 1 | -13/+2 |
| | |||||
* | Rename CalculationMethods to Calculations and get rid of the old ↵ | Pratik Naik | 2010-01-19 | 1 | -1/+2 |
| | | | | Calculations module | ||||
* | save(false) is gone, use save(:validate => false) instead. | José Valim | 2010-01-17 | 1 | -5/+5 |
| | |||||
* | Merge docrails | Pratik Naik | 2010-01-17 | 1 | -2/+2 |
| | |||||
* | Cache Model.arel_table | Pratik Naik | 2010-01-17 | 1 | -3/+3 |
| | |||||
* | Use arel_table[] instead of unscoped[] to get arel attribute | Pratik Naik | 2010-01-17 | 1 | -3/+3 |
| | |||||
* | Rename Model.active_relation to Model.unscoped | Pratik Naik | 2010-01-17 | 1 | -12/+12 |
| | |||||
* | Get rid of Base#merge_includes | Pratik Naik | 2010-01-16 | 1 | -5/+0 |
| | |||||
* | No need to set @arel_engine to nil twice. Committed by mistake in 3968825f | Pratik Naik | 2010-01-16 | 1 | -1/+1 |
| | |||||
* | Make sure Model#active_relation always adds STI conditions if needed | Pratik Naik | 2010-01-16 | 1 | -3/+2 |
| | |||||
* | Add Relation#apply_finder_options for applying old finder options | Pratik Naik | 2010-01-16 | 1 | -29/+1 |
| | |||||
* | Rename active_relation_engine -> arel_engine and active_relation_table -> ↵ | Pratik Naik | 2010-01-16 | 1 | -10/+10 |
| | | | | arel_table | ||||
* | Remove protected method Class#scoped? | Pratik Naik | 2010-01-16 | 1 | -9/+5 |
| | |||||
* | Make type_condition return Arel predicate and not a string condition | Pratik Naik | 2010-01-16 | 1 | -5/+3 |
| | |||||
* | Remove unused default_select | Pratik Naik | 2010-01-16 | 1 | -8/+0 |
| | |||||
* | Remove scope related code from construct_join | Pratik Naik | 2010-01-16 | 1 | -20/+6 |
| | |||||
* | Remove stale construct_* methods | Pratik Naik | 2010-01-16 | 1 | -24/+0 |
| | |||||
* | Remove construct_conditions | Pratik Naik | 2010-01-16 | 1 | -11/+2 |
| | |||||
* | Simplify Model.delete_all | Pratik Naik | 2010-01-16 | 1 | -1/+1 |
| | |||||
* | Model.delete should just use scoped.delete | Pratik Naik | 2010-01-16 | 1 | -1/+1 |
| | |||||
* | Remove AR#scope() method | Pratik Naik | 2010-01-16 | 1 | -25/+8 |
| | |||||
* | Make scopes use relations under the hood | Pratik Naik | 2010-01-16 | 1 | -72/+72 |
| | |||||
* | 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. |