aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
* Move destroy to RelationPratik Naik2010-01-202-28/+28
* Remove Base.delete as it's same as Relation#deletePratik Naik2010-01-202-25/+21
* Delegate exists? to RelationPratik Naik2010-01-202-38/+34
* Make Relation#destroy_all handle all the casesPratik Naik2010-01-202-34/+34
* Use unscoped instead of with_exclusive_scope for preloadingPratik Naik2010-01-201-14/+13
* Move array_of_strings? to RelationPratik Naik2010-01-202-6/+6
* Remove stale methods constructing joinsPratik Naik2010-01-201-28/+0
* Scope#find is no longer needed now that Relation#find handles all the casesPratik Naik2010-01-201-12/+0
* Delegate all finders to RelationPratik Naik2010-01-204-159/+154
* Ignore order for simple calculations to make postgresql happyPratik Naik2010-01-201-1/+2
* Named scopes dont need count() now that Relation#count handles all the casesPratik Naik2010-01-201-5/+0
* with_scope no longer needs :reverse_mergePratik Naik2010-01-201-13/+2
* Remove find_with_associations and related code from associations now that Rel...Pratik Naik2010-01-202-82/+0
* Remove Relation#where_clausePratik Naik2010-01-193-11/+7
* Give preference to to_a over arel from Relation#method_missingPratik Naik2010-01-193-5/+12
* Rename CalculationMethods to Calculations and get rid of the old Calculations...Pratik Naik2010-01-195-14/+5
* Move the only remaining calculation method calculate() to RelationPratik Naik2010-01-192-83/+62
* Get rid of construct_count_options_from_argsPratik Naik2010-01-192-33/+4
* Delegate count to RelationPratik Naik2010-01-193-67/+68
* Fix the named scope equality checkPratik Naik2010-01-191-1/+1
* Delegate :average, :minimum, :maximum, :sum to RelationPratik Naik2010-01-192-43/+37
* Add Relation#construct_relation_for_association_calculations for calculations...Pratik Naik2010-01-194-42/+17
* Add Relation#find_with_associations to load relation with eager loaded associ...Pratik Naik2010-01-192-25/+40
* Simplify calculation scope building. Remove :order from associations as it is...Pratik Naik2010-01-183-20/+5
* Remove construct_calculation_arel_with_included_associations because it's sam...Pratik Naik2010-01-181-27/+1
* No need to pass current_scoped_methods to construct_calculation_arel everytimePratik Naik2010-01-181-18/+18
* Rake tasks should load generators from new paths.José Valim2010-01-181-1/+1
* Cleanup deprecation notices.Joshua Peek2010-01-181-4/+4
* Forgot to change named_scope to scope in an ArgumentError raise exception for...Paco Guzman2010-01-181-1/+1
* Generators load path now will be Ruby load path. If you want to use rspec:ins...José Valim2010-01-1810-0/+178
* Simplify construct_finder_arel_* methodsPratik Naik2010-01-181-27/+7
* Handle invalid query IN() generated when a blank array is supplied in hash co...Pratik Naik2010-01-182-1/+7
* Get rid of Relation#order_clausesPratik Naik2010-01-182-13/+9
* Fix the named_scope deprecation noticePratik Naik2010-01-181-1/+1
* Ensure deprecated validate methods are invoked when they are private [#3214 s...José Valim2010-01-182-2/+19
* Add missing CHANGELOG entry about relations as scopesPratik Naik2010-01-181-0/+8
* Rename named_scope to scopePratik Naik2010-01-1810-35/+46
* Dont check for class equaity when merging relationsPratik Naik2010-01-182-8/+0
* Inherit named scope class Scope from RelationPratik Naik2010-01-186-94/+55
* Ensure that Scope#proxy_scope is always klass. Rename proxy_scope to klass too.Pratik Naik2010-01-183-26/+22
* Make relations work as scopesPratik Naik2010-01-173-12/+32
* Make sure named_scope names are not used as method names alreadyPratik Naik2010-01-173-7/+18
* save(false) is gone, use save(:validate => false) instead.José Valim2010-01-179-23/+41
* Add ActionDispatch::Railties::Subscriber and finish tidying up the logging.José Valim2010-01-171-1/+1
* Make merging of order values consistentPratik Naik2010-01-173-6/+8
* Make Relation#reload force load the records immediatelyPratik Naik2010-01-172-5/+8
* Use relations to build scope for named scopesPratik Naik2010-01-171-2/+7
* Simplify Model.scoped definitionPratik Naik2010-01-171-7/+1
* Merge docrailsPratik Naik2010-01-175-15/+13
* Cache Model.arel_tablePratik Naik2010-01-171-3/+3