Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Deprecate the `eager_load_paths` configuration | Andrew White | 2013-01-24 | 7 | -66/+91 |
| | | | | | | | | | | Since the default in Rails 4.0 is to run in 'threadsafe' mode we need to eager load all of the paths in `autoload_paths` so we alias `eager_load_paths` to it. This may have unintended consequences if you have added 'lib' to `autoload_paths` such as loading unneeded code or code intended only for development and/or test environments. If this applies to your application you should thoroughly check what is being eager loaded. | ||||
* | use the helpers list rather than getting the methods from the module | Aaron Patterson | 2013-01-24 | 1 | -1/+1 |
| | |||||
* | module_eval is not necessary here | Aaron Patterson | 2013-01-24 | 1 | -3/+1 |
| | |||||
* | don't need to eval everything | Aaron Patterson | 2013-01-24 | 1 | -1/+1 |
| | |||||
* | reduce the number of queries on IN clauses, fix relation queries in `where` | Aaron Patterson | 2013-01-24 | 3 | -2/+20 |
| | |||||
* | stop converting strings to symbols | Aaron Patterson | 2013-01-24 | 1 | -1/+1 |
| | |||||
* | Default dead_connection_timeout to 5 | Akira Matsuda | 2013-01-24 | 1 | -1/+1 |
| | | | | or the ConnectionPool silently fails to close connections inside the Thread | ||||
* | Describing the reason for defining BlankTopic#blank? which will never be called | Akira Matsuda | 2013-01-24 | 1 | -0/+1 |
| | |||||
* | Revert "Unused methods, module, etc." | Akira Matsuda | 2013-01-24 | 4 | -0/+28 |
| | | | | | | This reverts commit 4e05bfb8e254c3360a3ca4a6cb332995314338fe. Reason: BlankTopic#blank? should not be removed to check that dynamic finder with a bang can find a model that responds to `blank?` | ||||
* | Unused methods, module, etc. | Akira Matsuda | 2013-01-24 | 4 | -28/+0 |
| | |||||
* | Set Thread.abort_on_exception for the whole AS, AP, and AR tests | Akira Matsuda + Koichi Sasada | 2013-01-24 | 3 | -0/+6 |
| | | | | this would give us some more clues in case a test silently dies inside Thread | ||||
* | Unused test model | Akira Matsuda | 2013-01-24 | 1 | -5/+0 |
| | |||||
* | Goodbye there, very special rubbish! | Akira Matsuda | 2013-01-24 | 4 | -19/+1 |
| | |||||
* | proxy_{owner,reflection,target} are no more available | Akira Matsuda | 2013-01-24 | 1 | -11/+1 |
| | |||||
* | Unused model DeprecatedPostWithComment | Akira Matsuda | 2013-01-24 | 1 | -7/+0 |
| | |||||
* | Depend on thor >= 0.17.0 | Carlos Antonio da Silva | 2013-01-23 | 2 | -4/+1 |
| | |||||
* | Fix PostgreSQL tests on Travis | Andrew White | 2013-01-24 | 3 | -11/+37 |
| | | | | Travis only has PostgreSQL 9.1.x but 9.2 is required for range datatypes. | ||||
* | ActionDispatch::Http::UploadedFile is a permitted scalar [Closes #9051] | Xavier Noria | 2013-01-23 | 2 | -3/+7 |
| | |||||
* | Merge pull request #7345 from slbug/master | Rafael Mendonça França | 2013-01-23 | 11 | -189/+431 |
|\ | | | | | Postgresql range support | ||||
| * | Add postgresql range types support | bUg | 2013-01-23 | 11 | -189/+431 |
| | | |||||
* | | Remove warning by using a custom coder | Andrew White | 2013-01-23 | 1 | -2/+16 |
|/ | | | | | | | | | | | | | | The native JSON library bypasses the `to_json` overrides in active_support/core_ext/object/to_json.rb by calling its native implementation directly. However `ActiveRecord::Store` uses a HWIA so `JSON.dump` will call our `to_json` instead with a `State` object for options rather than a `Hash`. This generates a warning when the `:encoding`, `:only` & `:except` keys are accessed in `Hash#as_json` because the `State` object delegates unknown keys to `instance_variable_get` in its `:[]` method. Workaround this warning in the test by using a custom coder that calls `ActiveSupport::JSON.encode` directly. | ||||
* | 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: |