Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Get rails tests running on bundler 0.9 | Carl Lerche | 2010-01-31 | 1 | -8/+1 |
| | |||||
* | Bump arel dependency to 0.2.0 from 0.2.pre | Jeremy Kemper | 2010-01-31 | 1 | -1/+1 |
| | |||||
* | Axe AM state machine | Joshua Peek | 2010-01-30 | 4 | -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 Naik | 2010-01-30 | 1 | -1/+1 |
| | | | | IN predicate | ||||
* | Drop AR I18n deprecation and simple use errors.messages as fallback. | José Valim | 2010-01-30 | 5 | -35/+23 |
| | |||||
* | tsort-based dependency resolution for initializers | Paul Rosania | 2010-01-29 | 1 | -1/+1 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Move the ActiveRecord generator settings into the Railtie | Carl Lerche | 2010-01-28 | 1 | -0/+3 |
| | |||||
* | Clear up some ivar warnings | Jeremy Kemper | 2010-01-27 | 1 | -3/+13 |
| | |||||
* | future proofing the sqlite3 adapter code | Aaron Patterson | 2010-01-26 | 3 | -3/+12 |
| | | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local> | ||||
* | PostgreSQLAdapter: set time_zone to UTC when Base.default_timezone == :utc ↵ | Jack Christensen | 2010-01-25 | 4 | -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 refactor | Carlhuda | 2010-01-25 | 1 | -1/+1 |
| | |||||
* | As first step setup the load path and lazy compare middlewares. | José Valim | 2010-01-25 | 1 | -3/+3 |
| | |||||
* | Add active_model/railtie back to generated boot.rb, add models back to ↵ | José Valim | 2010-01-25 | 1 | -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é Valim | 2010-01-24 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into app | José Valim | 2010-01-23 | 31 | -792/+191 |
|\ | | | | | | | | | Conflicts: railties/lib/rails/application.rb | ||||
| * | Make default_scope work with Relations | Pratik Naik | 2010-01-23 | 3 | -3/+15 |
| | | |||||
| * | Relation should respond to class methods | Pratik Naik | 2010-01-22 | 2 | -1/+6 |
| | | |||||
| * | Allow calling class methods on a Relation | Pratik Naik | 2010-01-22 | 2 | -0/+11 |
| | | |||||
| * | Revert "Refactoring attributes/types" [#3348 state:open] | Pratik Naik | 2010-01-22 | 25 | -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 definitions | Pratik Naik | 2010-01-21 | 1 | -13/+11 |
| | | |||||
* | | Moved more configuration away from bootstrap. | José Valim | 2010-01-22 | 1 | -5/+5 |
|/ | |||||
* | Supplying Arel::SqlLiteral is much faster | Pratik Naik | 2010-01-21 | 2 | -7/+17 |
| | |||||
* | Default to sync instrumentation. | José Valim | 2010-01-21 | 1 | -11/+2 |
| | |||||
* | Use quoted_table_name with arel.from() if no from values explicitly ↵ | Pratik Naik | 2010-01-21 | 1 | -2/+4 |
| | | | | supplied. Arel seems to be spending a lot of time figuring out the FROM value otherwise. | ||||
* | Cache quoted_table_name | Pratik Naik | 2010-01-21 | 1 | -4/+5 |
| | |||||
* | Relation#spawn is basically clone + reset | Pratik Naik | 2010-01-21 | 1 | -12/+2 |
| | |||||
* | Always use table.* in the finder query unless specified | Pratik Naik | 2010-01-21 | 1 | -1/+1 |
| | |||||
* | Use @limit_value and @offset_value instead of calling arel | Pratik Naik | 2010-01-20 | 2 | -5/+5 |
| | |||||
* | Move update and update_all to Relation | Pratik Naik | 2010-01-20 | 2 | -70/+65 |
| | |||||
* | Fix AP's AR integration tests warning | Pratik Naik | 2010-01-20 | 1 | -1/+1 |
| | |||||
* | Base.merge_conditions is no longer needed | Pratik Naik | 2010-01-20 | 2 | -16/+2 |
| | |||||
* | Dont delegate Relation#update to arel | Pratik Naik | 2010-01-20 | 3 | -4/+4 |
| | |||||
* | Delegate delete_all to Relation | Pratik Naik | 2010-01-20 | 2 | -24/+20 |
| | |||||
* | Move destroy to Relation | Pratik Naik | 2010-01-20 | 2 | -28/+28 |
| | |||||
* | Remove Base.delete as it's same as Relation#delete | Pratik Naik | 2010-01-20 | 2 | -25/+21 |
| | |||||
* | Delegate exists? to Relation | Pratik Naik | 2010-01-20 | 2 | -38/+34 |
| | |||||
* | Make Relation#destroy_all handle all the cases | Pratik Naik | 2010-01-20 | 2 | -34/+34 |
| | |||||
* | Use unscoped instead of with_exclusive_scope for preloading | Pratik Naik | 2010-01-20 | 1 | -14/+13 |
| | |||||
* | Move array_of_strings? to Relation | Pratik Naik | 2010-01-20 | 2 | -6/+6 |
| | |||||
* | Remove stale methods constructing joins | Pratik Naik | 2010-01-20 | 1 | -28/+0 |
| | |||||
* | Scope#find is no longer needed now that Relation#find handles all the cases | Pratik Naik | 2010-01-20 | 1 | -12/+0 |
| | |||||
* | Delegate all finders to Relation | Pratik Naik | 2010-01-20 | 4 | -159/+154 |
| | |||||
* | Ignore order for simple calculations to make postgresql happy | Pratik Naik | 2010-01-20 | 1 | -1/+2 |
| | |||||
* | Named scopes dont need count() now that Relation#count handles all the cases | Pratik Naik | 2010-01-20 | 1 | -5/+0 |
| | |||||
* | with_scope no longer needs :reverse_merge | Pratik Naik | 2010-01-20 | 1 | -13/+2 |
| | |||||
* | Remove find_with_associations and related code from associations now that ↵ | Pratik Naik | 2010-01-20 | 2 | -82/+0 |
| | | | | Relation handles that stuff | ||||
* | Remove Relation#where_clause | Pratik Naik | 2010-01-19 | 3 | -11/+7 |
| | |||||
* | Give preference to to_a over arel from Relation#method_missing | Pratik Naik | 2010-01-19 | 3 | -5/+12 |
| | |||||
* | Rename CalculationMethods to Calculations and get rid of the old ↵ | Pratik Naik | 2010-01-19 | 5 | -14/+5 |
| | | | | Calculations module | ||||
* | Move the only remaining calculation method calculate() to Relation | Pratik Naik | 2010-01-19 | 2 | -83/+62 |
| |