aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Fix railties testsPiotr Sarnacki2012-01-151-4/+4
| | | | | | | | | | | | | | | | | | | | SchemaMigration model is loaded on rails initialization, which means that it will not be cleaned on each request.
* | | | Fix stack level too deep when model does not have attributes method.Piotr Sarnacki2012-01-152-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without that patch when using ActiveModel::AttributeMethods in a class that does not respond to `attributes` method, stack level too deep error will be raised on non existing method. While documentation is clear that you need to define `attributes` method in order to use AttributeMethods module, `stack level too deep` is rather obscure and hard to debug, therefore we should try to not break `method_missing` if someone forgets about defining `attributes`.
* | | | fix a broken testVijay Dev2012-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The commit 2f632f53919d2b44dbb2cfaadabed2310319f005 extracted the options into constants and while doing so, there was a minor error of using a wrong constant name.
* | | | Merge pull request #4467 from castlerock/changelog_for_deprecatedVijay Dev2012-01-151-0/+17
|\ \ \ \ | | | | | | | | | | changelog entry for deprecated ActionController::Integration, ActionCont...
| * | | | changelog entry for deprecated ActionController::Integration, ↵Vishnu Atrai2012-01-151-0/+17
| | | | | | | | | | | | | | | | | | | | ActionController::IntegrationTest, ActionController::PerformanceTest,ActionController::AbstractRequest, ActionController::Request, ActionController::AbstractResponse others
* | | | | Upgrade mail dependency to 2.4.0Mikel Lindsaar2012-01-151-1/+1
| | | | |
* | | | | Merge pull request #4469 from ↵José Valim2012-01-152-1/+15
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | guilleiguaran/fix-skipping-assets-in-route-inspector Don't hardcode assets route skipped in route inspector
| * | | | | Don't hardcode assets route skipped in route inspectorGuillermo Iguaran2012-01-142-1/+15
| |/ / / /
* | | | | Merge pull request #4468 from guilleiguaran/bump-sprockets-2-2José Valim2012-01-151-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Bump Sprockets to 2.2.0 in master
| * | | | | Bump Sprockets to 2.2.0Guillermo Iguaran2012-01-141-1/+1
| |/ / / /
* | | | | Merge pull request #4470 from ndbroadbent/small_refactoringJosé Valim2012-01-151-13/+2
|\ \ \ \ \ | | | | | | | | | | | | Refactored watchable_args and build_original_fullpath methods in Rails::Application
| * | | | | Refactored watchable_args and build_original_fullpath methods in ↵Nathan Broadbent2012-01-151-13/+2
|/ / / / / | | | | | | | | | | | | | | | railties/lib/rails/application.rb
* | | | | Merge pull request #4466 from carlosantoniodasilva/generated-attributes-refactorJosé Valim2012-01-142-10/+9
|\ \ \ \ \ | |/ / / / |/| | | | Generated attributes refactor
| * | | | Delegate clear_active_connections to handler as wellCarlos Antonio da Silva2012-01-141-6/+2
| | | | |
| * | | | Extract index and uniq index options to constantsCarlos Antonio da Silva2012-01-141-4/+7
|/ / / /
* | | | Merge pull request #4398 from castlerock/remove_deprecatedJosé Valim2012-01-143-1/+10
|\ \ \ \ | | | | | | | | | | deprecated action_controller integration test and performance test
| * | | | Deprecate ActionController::Integration, ActionController::IntegrationTest, ↵Vishnu Atrai2012-01-153-1/+10
|/ / / / | | | | | | | | | | | | ActionController::PerformanceTest,ActionController::AbstractRequest, ActionController::Request, ActionController::AbstractResponse, ActionController::Response and ActionController::Routing
* | | | Merge pull request #4463 from nashby/refactor-response_bodyJosé Valim2012-01-141-7/+1
|\ \ \ \ | | | | | | | | | | refactor response_body= method
| * | | | refactor response_body= methodVasiliy Ermolovich2012-01-141-7/+1
|/ / / / | | | | | | | | | | | | response_to?(:each) returns false for strings in ruby 1.9, so there is no need for these checks
* | / / Add begin/ensure block since we are returning.José Valim2012-01-141-3/+5
| |/ / |/| |
* | | make sure the migration table is alive and emptyAaron Patterson2012-01-132-2/+12
| | |
* | | refactor schema migration table creation to the schema migration modelAaron Patterson2012-01-134-10/+21
| | |
* | | Fix race condition :bomb:Jon Leighton2012-01-131-4/+11
| | |
* | | stop depending on the filesystem for interleaved migration testsAaron Patterson2012-01-138-84/+49
| | |
* | | convert the migration list to a Set, remove duplicate codeAaron Patterson2012-01-132-16/+18
| | |
* | | deprecate the block argument to Migrator#migrateAaron Patterson2012-01-131-8/+19
| | |
* | | refactor the migrate method to filter migrations before running themAaron Patterson2012-01-132-26/+33
| | |
* | | move schema dumper tests to the correct classAaron Patterson2012-01-132-9/+10
| | |
* | | use the schema migration model to dump schema infoAaron Patterson2012-01-132-3/+8
| | |
* | | move another migrator test, use schema migration modelAaron Patterson2012-01-132-10/+9
| | |
* | | use the model to delete recordsAaron Patterson2012-01-131-4/+1
| | |
* | | move another migrator test to the correct classAaron Patterson2012-01-132-11/+11
| | |
* | | use the schema migration model to create a new recordAaron Patterson2012-01-131-2/+1
| | |
* | | moving more migrator tests to the right test caseAaron Patterson2012-01-132-40/+38
| | |
* | | test code that finds migrationsAaron Patterson2012-01-132-6/+5
| | |
* | | removing migration files as they are no longer neededAaron Patterson2012-01-137-56/+2
| | |
* | | moving migrator tests to a migrator test classAaron Patterson2012-01-133-56/+67
| | |
* | | fixing test class nameAaron Patterson2012-01-132-2/+2
| | |
* | | adding a test class for table renamingAaron Patterson2012-01-133-70/+78
| | |
* | | moving more column renaming testsAaron Patterson2012-01-132-71/+75
| | |
* | | moving more renaming tests to the proper test caseAaron Patterson2012-01-133-93/+71
| | |
* | | moving rename column tests to their own classAaron Patterson2012-01-134-104/+136
| | |
* | | moving column attributes tests to their own classAaron Patterson2012-01-132-169/+174
| | |
* | | remove unused codeAaron Patterson2012-01-131-1/+0
| | |
* | | use ruby rather than mochaAaron Patterson2012-01-131-1/+3
| | |
* | | move another index related test caseAaron Patterson2012-01-132-70/+68
| | |
* | | move tests regarding index modification to their own classAaron Patterson2012-01-133-102/+102
| | |
* | | decoupling more tests from AR::BaseAaron Patterson2012-01-132-24/+45
| | |
* | | use skip rather than conditionally define testsAaron Patterson2012-01-131-66/+68
| | |
* | | skip openbase testAaron Patterson2012-01-131-3/+3
| | |