aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Collapse)AuthorAgeFilesLines
* Silenced "SHOW FIELDS" and "SET SQL_AUTO_IS_NULL=0" statements from the ↵David Heinemeier Hansson2010-02-062-4/+13
| | | | MySQL driver to improve log signal to noise ration in development [DHH]
* fix usage examples and more to use new invocationsRomD2010-02-061-2/+2
| | | | Signed-off-by: Carl Lerche <carllerche@mac.com>
* Fix tiny version number from '3.0.0beta' to '3.0.0.beta1', so 'rake install' ↵Prem Sichanugrist2010-02-061-1/+1
| | | | | | will be run correctly [#3879 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* test_validates_acceptance_of_as_database_column fixedSantiago Pastorino2010-02-051-3/+3
| | | | | | [#3826 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Bump git versions to 3.0.0.beta1 since we've releasedJeremy Kemper2010-02-051-3/+3
|
* Bump arel depJeremy Kemper2010-02-051-1/+1
|
* Submarine the rake-gemcutter dep in RakefilesJeremy Kemper2010-02-051-4/+5
|
* Fix task definesJeremy Kemper2010-02-041-1/+1
|
* Release using gemcutter gem:push tasksJeremy Kemper2010-02-041-18/+5
|
* Rationalize railtie dependencies: AC uses AV; AR uses AMo; and Rails always ↵Jeremy Kemper2010-02-041-2/+4
| | | | uses AS.
* Homogenize gemspecs and remove the deprecated autorequireDavid Heinemeier Hansson2010-02-031-16/+14
|
* MergeDavid Heinemeier Hansson2010-02-032-3/+3
|\
| * Merge remote branch 'mikel/master'Jeremy Kemper2010-02-031-2/+2
| |\
| | * Adding guard to make sure test database declarations exist before trying to ↵Mikel Lindsaar2010-02-041-2/+2
| | | | | | | | | | | | auto create
| * | removing , from ,= statement in WrappedDatabaseException constructorSubbaRao Pasupuleti2010-02-031-1/+1
| |/ | | | | | | | | | | [#3830 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* / Move to 3.0.0.betaDavid Heinemeier Hansson2010-02-032-4/+4
|/
* Added encoding qery support for SQLite3 to make rake db:charset work on all ↵Mikel Lindsaar2010-02-032-0/+14
| | | | databases shipping with Rails 3
* Made rake db:create also create the test database if you are in development modeMikel Lindsaar2010-02-031-1/+5
|
* Change Rails::Generators::Migration protected instance methods to class ↵Szymon Nowak2010-02-021-9/+8
| | | | | | methods. [#3820 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Add test case for unable to run migration if ActiveRecord::Base.logger is ↵Prem Sichanugrist2010-02-021-0/+10
| | | | | | nil (#3434) Signed-off-by: José Valim <jose.valim@gmail.com>
* fixed migration logger bug [#3434 status:resolved]Corey Johnson2010-02-021-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge branch 'master' of git://github.com/rails/railsMikel Lindsaar2010-02-023-12/+8
|\
| * 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
| |
* | Updating copyright dates on all licensesMikel Lindsaar2010-02-012-2/+2
|/
* 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
|