aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/base.rb
Commit message (Expand)AuthorAgeFilesLines
* save(false) is gone, use save(:validate => false) instead.José Valim2010-01-171-5/+5
* Merge docrailsPratik Naik2010-01-171-2/+2
* Cache Model.arel_tablePratik Naik2010-01-171-3/+3
* Use arel_table[] instead of unscoped[] to get arel attributePratik Naik2010-01-171-3/+3
* Rename Model.active_relation to Model.unscopedPratik Naik2010-01-171-12/+12
* Get rid of Base#merge_includesPratik Naik2010-01-161-5/+0
* No need to set @arel_engine to nil twice. Committed by mistake in 3968825fPratik Naik2010-01-161-1/+1
* Make sure Model#active_relation always adds STI conditions if neededPratik Naik2010-01-161-3/+2
* Add Relation#apply_finder_options for applying old finder optionsPratik Naik2010-01-161-29/+1
* Rename active_relation_engine -> arel_engine and active_relation_table -> are...Pratik Naik2010-01-161-10/+10
* Remove protected method Class#scoped?Pratik Naik2010-01-161-9/+5
* Make type_condition return Arel predicate and not a string conditionPratik Naik2010-01-161-5/+3
* Remove unused default_selectPratik Naik2010-01-161-8/+0
* Remove scope related code from construct_joinPratik Naik2010-01-161-20/+6
* Remove stale construct_* methodsPratik Naik2010-01-161-24/+0
* Remove construct_conditionsPratik Naik2010-01-161-11/+2
* Simplify Model.delete_allPratik Naik2010-01-161-1/+1
* Model.delete should just use scoped.deletePratik Naik2010-01-161-1/+1
* Remove AR#scope() methodPratik Naik2010-01-161-25/+8
* Make scopes use relations under the hoodPratik Naik2010-01-161-72/+72
* Deprecate ActiveRecord::Base.colorize_logging.José Valim2010-01-131-8/+7
* Delay building arel relation as long as possible for improved introspectionPratik Naik2010-01-121-2/+2
* MergeDavid Heinemeier Hansson2010-01-031-21/+13
|\
| * Ensure using proper engine for Arel::TablePratik Naik2010-01-041-2/+8
| * Make Relation#includes behave exactly like the existing :include optionPratik Naik2010-01-031-11/+2
| * Add Relation#includes to be an equivalent of current finder option :includePratik Naik2010-01-031-1/+1
| * Get rid of Model.construct_finder_arel_with_includes. Use construct_finder_ar...Pratik Naik2010-01-031-13/+8
* | Changed ActiveRecord::Base.store_full_sti_class to be true by default reflect...David Heinemeier Hansson2010-01-031-1/+1
|/
* Rename Model.arel_table to Model.active_relationPratik Naik2010-01-021-13/+13
* Rename Model.engine to active_relation_engine. Cache arel_table and the metho...Pratik Naik2010-01-021-8/+13
* Use arel for building the STI type conditionPratik Naik2010-01-011-7/+7
* Use PredicateBuilder for sql hash sanitizationPratik Naik2010-01-011-23/+9
* Add Relation#delete [Pratik Naik, Emilio Tagua]Pratik Naik2010-01-011-3/+3
* Kick AR logging back to life and move ControllerRuntime inside ActiveRecord::...José Valim2009-12-301-1/+0
* Replace Base#safe_to_array with Array.wrapPratik Naik2009-12-291-14/+2
* Use relation#delete_all for Model.delete_allPratik Naik2009-12-291-5/+1
* Migrate all the calculation methods to RelationPratik Naik2009-12-291-0/+4
* Add Model.having and Relation#havingPratik Naik2009-12-291-14/+3
* Remove the todo note for arel#lockPratik Naik2009-12-281-1/+0
* Add Model.readonly and association_collection#readonly finder methodPratik Naik2009-12-281-1/+1
* Remove locking related unused codePratik Naik2009-12-281-8/+0
* Remove unused construct_finder_sqlPratik Naik2009-12-281-4/+0
* Add Model.lock and relation#lock now that arel has lockingPratik Naik2009-12-281-1/+4
* Add Model.from and association_collection#from finder methodsPratik Naik2009-12-281-1/+1
* Use relation.from when constructing a relationPratik Naik2009-12-281-1/+1
* Add relation.destroy_allPratik Naik2009-12-271-1/+1
* Make Model.destroy_all use new findersPratik Naik2009-12-271-1/+1
* Make Model.find(:last) use relationsPratik Naik2009-12-271-42/+5
* Make Model.all just a wrapper for find(:all)Pratik Naik2009-12-271-9/+3
* Make Model.find(:first, ..) use relationsPratik Naik2009-12-271-24/+2