aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge pull request #4484 from lest/patch-1José Valim2012-01-171-3/+2
|\ \ \ \ | | | | | | | | | | use thread variable in TaggedLogging
| * | | | use thread variable in TaggedLoggingSergey Nartimov2012-01-171-3/+2
| | | | | | | | | | | | | | | | | | | | previous solution can cause race conditions under GIL-free ruby implementations
* | | | | Merge pull request #4491 from pkondzior/masterPiotr Sarnacki2012-01-162-1/+14
|\ \ \ \ \ | |_|/ / / |/| | | | Wrong behavior of ActiveModel::Errors#dup is causing regressions on Rails master
| * | | | Remove redundant #to_symPaweł Kondzior2012-01-161-1/+1
| | | | |
| * | | | Fix ActiveModel::Errors#dupPaweł Kondzior2012-01-162-0/+13
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since ActiveModel::Errors instance keeps all error messages as hash we should duplicate this object as well. Previously ActiveModel::Errors was a subclass of ActiveSupport::OrderedHash, which results in different behavior on `dup`, this may result in regression for people relying on it.
* | | | stop more ddl changesAaron Patterson2012-01-162-14/+16
| | | |
* | | | stop ddl modifications for another testAaron Patterson2012-01-162-12/+10
| | | |
* | | | use one based indexes for the mock migrationsAaron Patterson2012-01-161-16/+16
| | | |
* | | | stop making ddl changes for migrator testsAaron Patterson2012-01-162-67/+78
| | | |
* | | | actually use the variable I created. :bomb: thanks @exvivaAaron Patterson2012-01-161-1/+1
| | | |
* | | | move another migrator to use sensorsAaron Patterson2012-01-162-12/+18
| | | |
* | | | Make it more explicit that the feature is deprecated, not removed.Jon Leighton2012-01-161-2/+4
| | | |
* | | | Deprecate inferred JOINs with includes + SQL snippets.Jon Leighton2012-01-1623-66/+216
| | | | | | | | | | | | | | | | | | | | | | | | See the CHANGELOG for details. Fixes #950.
* | | | infer references from Relation#orderJon Leighton2012-01-162-2/+28
| | | |
* | | | store references as a stringJon Leighton2012-01-164-8/+8
| | | |
* | | | Avoid sanitize_sql when we can use Relation#where insteadJon Leighton2012-01-164-22/+16
| | | |
* | | | automatically add references when we canJon Leighton2012-01-163-1/+29
| | | |
* | | | Make referencing an included item trigger eager loadingJon Leighton2012-01-162-1/+13
| | | |
* | | | Add ActiveRecord::Relation#references (#950)Jon Leighton2012-01-164-4/+35
| | | |
* | | | Revert "Deprecate implicit eager loading. Closes #950."Jon Leighton2012-01-1627-181/+99
|/ / / | | | | | | | | | This reverts commit c99d507fccca2e9e4d12e49b4387e007c5481ae9.
* | | moving verbosity tests to the migrator test, removing ddl changesAaron Patterson2012-01-163-20/+25
| | |
* | | silencing migrator tests, refactoring the migration test helperAaron Patterson2012-01-164-23/+13
| | |
* | | fix tests on sqlite3Aaron Patterson2012-01-161-0/+4
| | |
* | | prefer method sensors over actual ddl changesAaron Patterson2012-01-162-69/+84
| | |
* | | testing the current version methodAaron Patterson2012-01-161-1/+26
| | |
* | | test that migrations have connections, and method missing delegatesAaron Patterson2012-01-161-7/+16
| | |
* | | making sure the temp connection and the real connection are different after dupAaron Patterson2012-01-161-3/+3
| | |
* | | Merge pull request #4462 from spohlenz/fix-routing-testsAaron Patterson2012-01-161-0/+4
|\ \ \ | |/ / |/| | Stub ip method of alternative request class in router tests
| * | Stub ip method of alternative request classSam Pohlenz2012-01-141-0/+4
| | |
* | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-01-163-18/+83
|\ \ \
| * | | minor edits in getting started guideVijay Dev2012-01-161-2/+2
| | | |
| * | | copy editing asset pipeline changesVijay Dev2012-01-161-7/+6
| | | |
| * | | [docs] Update pipeline asset organization section.Richard Hulse2012-01-161-4/+57
| | | | | | | | | | | | | | | | | | | | * Calified how assets are included. * Added information about using index manifests.
| * | | change class to id per scaffold changeDan Pickett2012-01-151-7/+7
| | |/ | |/| | | | #4472
| * | Improve description of :allow_destroy option for nested attributes in ↵Carlos Antonio da Silva2012-01-151-7/+7
| | | | | | | | | | | | getting started guide
| * | Fix styling of example layout. Fixes #4461Jason Noble2012-01-131-1/+1
| | |
| * | Mention how use config.assets.prefix to avoid conflicting with an existing ↵Guillermo Iguaran2012-01-131-1/+8
| | | | | | | | | | | | "/assets" route
| * | Getting Started Guide: Update reference about JavaScript runtimesGuillermo Iguaran2012-01-131-1/+7
| | |
* | | Add ActiveModel::Errors#delete, which was not available after move to use ↵Piotr Sarnacki2012-01-162-0/+12
| | | | | | | | | | | | delegation
* | | Merge pull request #4480 from lest/use-rack-body-proxyJosé Valim2012-01-1610-135/+44
|\ \ \ | | | | | | | | Use Rack::BodyProxy
| * | | use rack from master branchSergey Nartimov2012-01-162-0/+4
| | | | | | | | | | | | | | | | | | | | it's needed until new rack release with Rack::BodyProxy fixes https://github.com/rack/rack/commit/b06ef82876416fe69429f7d3ee6e51bf26aec75f
| * | | use Rack::BodyProxy in activerecord middlewaresSergey Nartimov2012-01-166-102/+37
| | | |
| * | | use Rack::BodyProxy in AD::ReloaderSergey Nartimov2012-01-162-33/+3
| | | |
* | | | Merge pull request #4478 from amatsuda/rake_stats_mailerJosé Valim2012-01-161-0/+1
|\ \ \ \ | | | | | | | | | | show stats for app/mailers
| * | | | show stats for app/mailersAkira Matsuda2012-01-161-0/+1
|/ / / /
* | | | Try to create schema migrations table in schema dumper testPiotr Sarnacki2012-01-161-0/+5
| | | |
* | | | Fix ActiveRecord mysql testsPiotr Sarnacki2012-01-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TL;DR: MySQL sucks. Since it does not support transactions for schema changes, when you run `create_table` in setup block, it will commit current transaction. Now tests want to run `RELEASE SAVEPOINT` after finishing tests which fails since there is no transaction.
* | | | Fix test class name that should read WithoutCarlos Antonio da Silva2012-01-161-2/+2
|/ / /
* | | 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`.