aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/base.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Make Model.exists? use relation.exists?Pratik Naik2009-12-271-12/+7
* Make Model.find(:all) use relationsPratik Naik2009-12-271-1/+1
* Add relation.from as a temporary workaround until arel relation has .from optionPratik Naik2009-12-271-1/+2
* Make Model.find(ids) use relationsPratik Naik2009-12-271-63/+11
* Make Model.all return an array rather than a relation for consistency. Use Mo...Pratik Naik2009-12-271-2/+2
* Fix dynamic finder docsPratik Naik2009-12-271-3/+2
* Make Model.find_or_create_by_* and find_or_initialize_by_* use relations and ...Pratik Naik2009-12-271-54/+1
* Make Model.find_by_* and Model.find_all_by_* use relations and remove dynamic...Pratik Naik2009-12-271-54/+22
* Ensure all the finder methods respect scopingPratik Naik2009-12-261-1/+1
* Rename Model.conditions and relation.conditions to .wherePratik Naik2009-12-261-6/+6
* Add Model.select/group/order/limit/joins/conditions/preload/eager_load class ...Pratik Naik2009-12-261-6/+4
* Replace reset_counter_cache with reset_counters that has API inline with exis...Gabe da Silveira2009-12-031-8/+13
* Implement ActiveRecord#reset_counter_cacheMike Breen2009-12-021-0/+18
* Revert "Split arel_table into method to get a relation and another to memoize...Jeremy Kemper2009-11-131-6/+6
* Split arel_table into method to get a relation and another to memoize the def...Jeremy Kemper2009-11-131-6/+6
* Symbol#to_proc is not needed for Ruby >= 1.8.7Xavier Noria2009-11-091-1/+0
* Move validator, human_name and human_attribute_name to ActiveModel, remove de...José Valim2009-10-201-27/+5
* Refactoring attributes/types [#3348 state:resolved]Eric Chapweske2009-10-171-31/+7
* Unify benchmark APIs.José Valim2009-10-151-33/+3
* Update Orchestra instrumentations and move part of logging to Orchestra.José Valim2009-10-151-0/+2
* Merge commit 'rails/master'Emilio Tagua2009-10-071-27/+38
|\
| * Call initialize_copy when cloning [#3164 state:resolved]Paul Gillard2009-10-061-27/+38
* | Don't send table_name when updating attributes, use the class arel_table.Emilio Tagua2009-10-071-1/+1
* | Don't send table_name when there's no need to.Emilio Tagua2009-10-071-1/+1
* | Initial documentation to Base#all.Emilio Tagua2009-10-051-2/+2
* | Merge branch 'associations_2'Emilio Tagua2009-10-051-4/+15
|\ \
| * | Added eager loading support to Relation and ActiveRecord#all.Emilio Tagua2009-10-051-11/+6
| * | Moved relation's test to relation_test.Emilio Tagua2009-10-051-2/+1
| * | Added association preload to relation.Emilio Tagua2009-09-011-3/+20
* | | Merge commit 'rails/master'Emilio Tagua2009-09-211-29/+19
|\ \ \ | | |/ | |/|
| * | Extract class-finder method from instantiateJeremy Kemper2009-09-171-27/+19
| * | Collapse nested conditionalJeremy Kemper2009-09-171-15/+13
* | | Merge commit 'rails/master'Emilio Tagua2009-09-081-8/+3
|\| |
| * | Changed ActiveRecord to use new callbacks and speed up observers by only noti...José Valim2009-09-081-8/+3
* | | Merge commit 'rails/master'Emilio Tagua2009-09-081-1/+3
|\| | | |/ |/|
| * Don't try to log protected attribute removal if there's no logger defined [#3...Jeffrey Hardy2009-09-021-1/+3
* | Revert "Revert "Add readonly support for relations.""Emilio Tagua2009-08-271-1/+6
* | Revert "Add readonly support for relations."Emilio Tagua2009-08-271-6/+1
* | Add readonly support for relations.Emilio Tagua2009-08-271-1/+6
* | No need to reload the relation table with a method param, just nil it.Emilio Tagua2009-08-271-5/+3
* | Performance: Don't reload ARel relation on update.Emilio Tagua2009-08-271-1/+1
* | Performance: Don't reload the ARel relation on create, do it onEmilio Tagua2009-08-271-2/+2
* | Performance: Don't reload the arel_table when destroying.Emilio Tagua2009-08-271-1/+1
* | Remove useless var local definition.Emilio Tagua2009-08-261-1/+1
* | Make sure join association methods are called once.Emilio Tagua2009-08-191-4/+4