Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix TaggedLogging to allow loggers to be instantiated multiple times without ↵ | Alexander Staubo | 2013-01-24 | 2 | -1/+16 |
| | | | | having to share the stack of tags. This is accomplished by using a unique key for the thread-local tag list. Fixes #9064. | ||||
* | Merge pull request #9035 from adomokos/aligning_tests | Carlos Antonio da Silva | 2013-01-23 | 1 | -0/+8 |
|\ | | | | | Adding the route_key and param_key tests | ||||
| * | Adding the route_key and param_key tests | Attila Domokos | 2013-01-22 | 1 | -0/+8 |
| | | | | | | This way all the tests are testing the same fields | ||||
* | | A test case name needs to start with "test_" | Akira Matsuda | 2013-01-23 | 1 | -1/+1 |
| | | |||||
* | | Fix some wrong String extensions tests | Akira Matsuda | 2013-01-23 | 1 | -7/+9 |
| | | | | | | | | | | | | * ASCII_STRING was not an ASCII String * BYTE_STRING was not an in valid UTF-8 String * added an assertion for non-UTF-8 String | ||||
* | | Test String#dasherize | Akira Matsuda | 2013-01-23 | 1 | -0/+6 |
| | | |||||
* | | Test that rescue_from accepts a class name in String | Akira Matsuda | 2013-01-23 | 1 | -2/+1 |
| | | |||||
* | | Test Kernel#quietly | Akira Matsuda | 2013-01-23 | 1 | -0/+12 |
| | | |||||
* | | Test try! with a block | Akira Matsuda | 2013-01-23 | 1 | -0/+4 |
| | | |||||
* | | Test that DeprecatedConstantProxy does not warn when accessing its class | Akira Matsuda | 2013-01-23 | 1 | -0/+1 |
| | | |||||
* | | Missing AS::Deprecation::DeprecatedObjectProxy test | Akira Matsuda | 2013-01-23 | 1 | -0/+5 |
| | | |||||
* | | Test that a DateTime acts_like_date | Akira Matsuda | 2013-01-23 | 1 | -0/+4 |
|/ | |||||
* | Merge pull request #9031 from virusman/doc-no-asset-concat | Guillermo Iguaran | 2013-01-22 | 2 | -125/+0 |
|\ | | | | | Remove old asset tags API from docs | ||||
| * | Remove old asset tags API from docs, reflecting changes from #7900 | virusman | 2013-01-23 | 2 | -125/+0 |
| | | |||||
* | | Less strict activerecord-deprecated_finders version | Rafael Mendonça França | 2013-01-22 | 1 | -1/+1 |
| | | |||||
* | | Revert "Round usec when writing timestamp attribute." | Andrew White | 2013-01-22 | 2 | -28/+5 |
| | | | | | | | | | | | | | | | | | | | | This reverts commit e9d2ad395ec2ef929d74752f3d71c80674044fbe. Closes #8460 Conflicts: activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb activerecord/test/cases/dirty_test.rb | ||||
* | | Add failing test case for #8460 | Andrew White | 2013-01-22 | 1 | -0/+14 |
| | | | | | | | | Add a test case to ensure that fractional second updates are detected. | ||||
* | | Merge pull request #9027 from carlosantoniodasilva/revert-locale | Steve Klabnik | 2013-01-22 | 5 | -37/+24 |
|\ \ | | | | | | | Revert locale | ||||
| * | | Revert "Merge pull request #7873 from steveklabnik/update_initializer" | Carlos Antonio da Silva | 2013-01-22 | 2 | -9/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 43e14f8ff203c21646f733d35bdde4e68da70a3b, reversing changes made to bb17a0f085aba40a1952612f6c98b2a5804a1152. Conflicts: railties/lib/rails/generators/rails/app/templates/config/application.rb railties/lib/rails/generators/rails/app/templates/config/initializers/locale.rb Reason: setting the Time.zone in an after_initialize block can become a problem for people upgrading, since it's not going to be available when config/initializers run, and people might be relying on it. An example that I noticed was with the Chronic gem, for date/time parsing. It requires us to configure the time class to be Time.zone, and doing that in an initializer no longer worked with these changes, so reverting is the safer path for now. | ||||
| * | | Revert "Set the default timezone after the initialization since the ↵ | Carlos Antonio da Silva | 2013-01-22 | 2 | -27/+15 |
| | | | | | | | | | | | | | | | | | | configuration" This reverts commit 39374aa925a7d670b039c0c0c9aa9f4aef19466b. | ||||
| * | | Revert "updating i18n guide with locale config location." | Carlos Antonio da Silva | 2013-01-22 | 1 | -1/+1 |
| |/ | | | | | | | This reverts commit 46902908910c041e268429d674bbe084399cc664. | ||||
* | | Lets kepp using Ruby 1.9 syntax | Rafael Mendonça França | 2013-01-22 | 2 | -37/+37 |
| | | |||||
* | | Only check for unpermmited parameters if | Rafael Mendonça França | 2013-01-22 | 1 | -1/+1 |
|/ | | | | action_on_unpermitted_parameters is present | ||||
* | avoid creating an object in every call | Xavier Noria | 2013-01-22 | 1 | -1/+2 |
| | | | | This was a suggestion of @carlosantoniodasilva, thanks! | ||||
* | Merge pull request #9026 from tricknotes/remove-unnecessary-require | Xavier Noria | 2013-01-22 | 1 | -1/+0 |
|\ | | | | | Remove unnecessary require | ||||
| * | Remove unnecessary require | Ryunosuke SATO | 2013-01-22 | 1 | -1/+0 |
|/ | | | | `require 'rubygems'` is already required in Ruby 1.9 or later. | ||||
* | Re-do Getting Started application with Rails 4. | Steve Klabnik | 2013-01-22 | 76 | -301/+404 |
| | | | | | | | The sample application with the Getting Started Guide was very out of date. I've re-done it on edge (as of 51b9def5bf108fb566e) so it should be good to go with Rails 4. It's also in synch with what the guide actually says. | ||||
* | fixing link to validations guide in getting started guide | Steve Klabnik | 2013-01-22 | 1 | -4/+5 |
| | |||||
* | Getting Started Guide: strong_parameters | Steve Klabnik | 2013-01-22 | 2 | -8/+33 |
| | | | | | Stuff didn't work because of strong_parameters. Now the right calls are in place. | ||||
* | Fix images in getting started guide. | Steve Klabnik | 2013-01-22 | 5 | -0/+0 |
| | | | | | We changed the error style, so they're all wrong. Now they're right. :smile: | ||||
* | Remove tabs, use spaces :scissors: | Carlos Antonio da Silva | 2013-01-22 | 1 | -2/+2 |
| | | | | [ci skip] | ||||
* | Whitespaces :scissors: | Rafael Mendonça França | 2013-01-22 | 2 | -19/+16 |
| | | | | [ci skip] | ||||
* | Merge pull request #8557 from timraymond/add_back_engines_and_deprecate | Rafael Mendonça França | 2013-01-22 | 5 | -5/+46 |
|\ | | | | | | | | | | | | | Adding Back Rails::Engine::Railties#engines Conflicts: railties/CHANGELOG.md | ||||
| * | Adding Back Rails::Engine::Railties#engines | Tim Raymond | 2013-01-03 | 5 | -5/+46 |
| | | | | | | | | | | Removing it breaks functionality with gems such as Thinking Sphinx. This restores it with a deprecation warning. Closes #8551 | ||||
* | | Merge branch 'isolating_tests' | Akira Matsuda | 2013-01-22 | 7 | -28/+47 |
|\ \ | | | | | | | | | | Now we're almost ready to remove this: https://github.com/rails/rails/blob/5294ad8/activesupport/lib/active_support/test_case.rb#L29 | ||||
| * | | Just ignore all PRAGMA queries | Akira Matsuda | 2013-01-22 | 1 | -1/+1 |
| | | | |||||
| * | | Reset SchemaMigration after updating | Akira Matsuda | 2013-01-22 | 1 | -0/+1 |
| | | | |||||
| * | | Restore I18n.locale after running tests | Akira Matsuda | 2013-01-22 | 1 | -1/+7 |
| | | | |||||
| * | | Make sure to reset default_url_options | Akira Matsuda | 2013-01-22 | 1 | -1/+5 |
| | | | |||||
| * | | Preload some join table schemas | Akira Matsuda | 2013-01-22 | 1 | -0/+9 |
| | | | |||||
| * | | Ignore schema queries on SQLite 3 as well | Akira Matsuda | 2013-01-22 | 1 | -1/+2 |
| | | | |||||
| * | | Be sure to clear schema cache | Akira Matsuda | 2013-01-22 | 1 | -0/+3 |
| | | | |||||
| * | | Ignore "SHOW search_path" when counting PostgreSQL queries | Akira Matsuda | 2013-01-22 | 1 | -1/+1 |
| | | | |||||
| * | | Reset table_name_{prefix,suffix}, and table_name after each test | Akira Matsuda | 2013-01-22 | 1 | -11/+4 |
| | | | | | | | | | | | | because some tests were not resetting them, and thus the tests were order dependent | ||||
| * | | Missing repair_validations | Akira Matsuda | 2013-01-22 | 1 | -12/+14 |
| | | | |||||
* | | | Stylistic pass at form_helper_test | Rafael Mendonça França | 2013-01-21 | 1 | -286/+362 |
| | | | |||||
* | | | Capture block so content won't leak. | José Mota | 2013-01-21 | 3 | -4/+61 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The [following pull request](https://github.com/rails/rails/pull/8916) fixed the block being passed to the appropriate helper method. However, the content being passed into the block is generating repeated markup on the page due to some weird ERb evaluation. This commit tries to capture the block's generated output so the page isn't flooded with markup. [Rafael França + José Mota] Closes #8936 | ||||
* | | | Update actionpack's CHANGELOG for 445f14e | Piotr Sarnacki | 2013-01-21 | 1 | -0/+5 |
| | | | |||||
* | | | Merge pull request #9021 from drogus/fix-asset-path | Guillermo Iguaran | 2013-01-21 | 2 | -2/+10 |
|\ \ \ | |/ / |/| | | Fix asset_path in mounted engine | ||||
| * | | Fix asset_path in mounted engine | Piotr Sarnacki | 2013-01-21 | 2 | -2/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Historically serving assets from a mountable engine could be achieved by running ActionDispatch::Static as a part of engine middleware stack or to copy assets prefixed with an engine name. After introduction of assets pipeline this is not needed as all of the assets are served or compiled into main application's assets. This commit removes the obsolete line making asset_path always generate paths relative to the root or config.relative_url_root if it's set. (closes #8119) |