aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Collapse)AuthorAgeFilesLines
* Convert to class_attributeJeremy Kemper2010-02-011-3/+6
|
* Get rails tests running on bundler 0.9Carl Lerche2010-01-311-8/+1
|
* Bump arel dependency to 0.2.0 from 0.2.preJeremy Kemper2010-01-311-1/+1
|
* Axe AM state machineJoshua Peek2010-01-304-94/+0
| | | | We're going do it eventually, get it done before 3.0 is final.
* Rely on arel to generate the correct sql when an empty array is supplied to ↵Pratik Naik2010-01-301-1/+1
| | | | IN predicate
* Drop AR I18n deprecation and simple use errors.messages as fallback.José Valim2010-01-305-35/+23
|
* tsort-based dependency resolution for initializersPaul Rosania2010-01-291-1/+1
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Move the ActiveRecord generator settings into the RailtieCarl Lerche2010-01-281-0/+3
|
* Clear up some ivar warningsJeremy Kemper2010-01-271-3/+13
|
* future proofing the sqlite3 adapter codeAaron Patterson2010-01-263-3/+12
| | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* PostgreSQLAdapter: set time_zone to UTC when Base.default_timezone == :utc ↵Jack Christensen2010-01-254-2/+54
| | | | so that Postgres doesn't incorrectly offset-adjust values inserted into TIMESTAMP WITH TIME ZONE columns [#3777 state:resolved]
* Fix AR's rake tasks to work with the Rails::Application refactorCarlhuda2010-01-251-1/+1
|
* As first step setup the load path and lazy compare middlewares.José Valim2010-01-251-3/+3
|
* Add active_model/railtie back to generated boot.rb, add models back to ↵José Valim2010-01-251-5/+4
| | | | paths, load active_support/railtie since we need it and ensure default logger is set before config.
* Rename plugin_name to railtie_name and engine_name.José Valim2010-01-241-1/+1
|
* Merge branch 'master' into appJosé Valim2010-01-2331-792/+191
|\ | | | | | | | | Conflicts: railties/lib/rails/application.rb
| * Make default_scope work with RelationsPratik Naik2010-01-233-3/+15
| |
| * Relation should respond to class methodsPratik Naik2010-01-222-1/+6
| |
| * Allow calling class methods on a RelationPratik Naik2010-01-222-0/+11
| |
| * Revert "Refactoring attributes/types" [#3348 state:open]Pratik Naik2010-01-2225-775/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Simplify finder method definitionsPratik Naik2010-01-211-13/+11
| |
* | Moved more configuration away from bootstrap.José Valim2010-01-221-5/+5
|/
* Supplying Arel::SqlLiteral is much fasterPratik Naik2010-01-212-7/+17
|
* Default to sync instrumentation.José Valim2010-01-211-11/+2
|
* Use quoted_table_name with arel.from() if no from values explicitly ↵Pratik Naik2010-01-211-2/+4
| | | | supplied. Arel seems to be spending a lot of time figuring out the FROM value otherwise.
* Cache quoted_table_namePratik Naik2010-01-211-4/+5
|
* Relation#spawn is basically clone + resetPratik Naik2010-01-211-12/+2
|
* Always use table.* in the finder query unless specifiedPratik Naik2010-01-211-1/+1
|
* Use @limit_value and @offset_value instead of calling arelPratik Naik2010-01-202-5/+5
|
* Move update and update_all to RelationPratik Naik2010-01-202-70/+65
|
* Fix AP's AR integration tests warningPratik Naik2010-01-201-1/+1
|
* Base.merge_conditions is no longer neededPratik Naik2010-01-202-16/+2
|
* Dont delegate Relation#update to arelPratik Naik2010-01-203-4/+4
|
* Delegate delete_all to RelationPratik Naik2010-01-202-24/+20
|
* 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 ↵Pratik Naik2010-01-202-82/+0
| | | | Relation handles that stuff
* 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 ↵Pratik Naik2010-01-195-14/+5
| | | | Calculations module