Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rails.logger should have level specified by config.log_level. | Max Shytikov | 2013-07-30 | 1 | -0/+8 |
| | | | Fix bug when log level of Rails.logger (which was set via config.logger) does not match the config.log_level. | ||||
* | Fixing build for not checking migration | Arun Agrawal | 2013-06-05 | 1 | -0/+1 |
| | |||||
* | Removing use of subclassed application constant and instead using the | wangjohn | 2013-06-03 | 1 | -2/+2 |
| | | | | | more agnostic Rails.application syntax. This means tests will be more portable, and won't rely on the existence of a particular subclass. | ||||
* | Fix some typos | Vipul A M | 2013-03-24 | 1 | -1/+1 |
| | |||||
* | Revert "make new rails apps log to STDOUT" | Steve Klabnik | 2013-03-15 | 1 | -21/+0 |
| | | | | | | This reverts commit b7d9d6e2cd5082d269dafbc0316e2107febe1451. Per discussion with @jeremy and @rubys on Campfire. | ||||
* | make new rails apps log to STDOUT | Terence Lee | 2013-03-15 | 1 | -0/+21 |
| | |||||
* | Revert "Set the default timezone after the initialization since the ↵ | Carlos Antonio da Silva | 2013-01-22 | 1 | -11/+1 |
| | | | | | | configuration" This reverts commit 39374aa925a7d670b039c0c0c9aa9f4aef19466b. | ||||
* | Restore and adapt the implementation reverted at | Rafael Mendonça França | 2013-01-19 | 1 | -0/+48 |
| | | | | | | https://github.com/rails/rails/commit/cc1c3c5be061e7572018f734e5239750ab449e3f Now instead of raise, we log by default in development and test | ||||
* | Revert "unpermitted params" exception -- it's just not going to work. See ↵ | David Heinemeier Hansson | 2013-01-08 | 1 | -48/+0 |
| | | | | the discussion on https://github.com/rails/strong_parameters/pull/75. | ||||
* | Move config.filter_parameters to you own initializer file | Rafael Mendonça França | 2013-01-05 | 1 | -2/+2 |
| | | | | This is very rarely changed and does not deserve to be in application.rb | ||||
* | Assert config.filter_parameters should be able to be set in a initializer | Rafael Mendonça França | 2013-01-05 | 1 | -0/+10 |
| | |||||
* | Remove warning "ambiguous first argument" | Carlos Antonio da Silva | 2013-01-05 | 1 | -1/+1 |
| | |||||
* | Rename the configuration to raise_on_unpermitted_parameters | Rafael Mendonça França | 2013-01-05 | 1 | -9/+9 |
| | | | | Also changed the exception to UnpermittedParameters | ||||
* | Ensure that raise_on_unexpected_params configuration will work | Rafael Mendonça França | 2013-01-05 | 1 | -0/+48 |
| | |||||
* | Set the default timezone after the initialization since the configuration | Rafael Mendonça França | 2013-01-04 | 1 | -1/+11 |
| | | | | | | now lives in the application initializers. Fix #8711 | ||||
* | Correctly shows RAILS_ENV=development even when ENV['RAILS_ENV'] is not set ↵ | Andy Lindeman | 2012-12-21 | 1 | -0/+12 |
| | | | | | | (e.g., in Pow) * Fixes #8025 | ||||
* | Remove observers and sweepers | Rafael Mendonça França | 2012-11-28 | 1 | -21/+0 |
| | | | | | | | | They was extracted from a plugin. See https://github.com/rails/rails-observers [Rafael Mendonça França + Steve Klabnik] | ||||
* | Rename secret_token_key to secret_key_base | Santiago Pastorino | 2012-11-03 | 1 | -2/+2 |
| | |||||
* | Use derived keys everywhere, http_authentication was missing it | Santiago Pastorino | 2012-11-03 | 1 | -18/+0 |
| | |||||
* | Sign cookies using key deriver | Santiago Pastorino | 2012-11-03 | 1 | -2/+22 |
| | |||||
* | Merge branch 'master' into asset-path-helper | Joshua Peek | 2012-10-15 | 1 | -22/+14 |
|\ | | | | | | | | | Conflicts: railties/test/application/configuration_test.rb | ||||
| * | Use Ruby 1.9 Hash syntax in railties | Robin Dupret | 2012-10-14 | 1 | -15/+15 |
| | | |||||
| * | Backpedal from class-oriented config.queue. Set an actual queue instance. | Jeremy Kemper | 2012-10-12 | 1 | -8/+0 |
| | | |||||
* | | Remove old asset_path from rails config | Joshua Peek | 2012-10-15 | 1 | -20/+0 |
|/ | |||||
* | Remove action cache related tests | Rafael Mendonça França | 2012-10-04 | 1 | -42/+0 |
| | |||||
* | Make Rails.public_path return a Pathname | Prem Sichanugrist | 2012-10-02 | 1 | -1/+9 |
| | |||||
* | Provide access to the application's KeyGenerator | Michael Koziarski | 2012-10-01 | 1 | -0/+1 |
| | | | | Available both as an env entry for rack and an instance method on Rails::Application for other uses | ||||
* | Merge pull request #7251 from rails/integrate-strong_parameters | David Heinemeier Hansson | 2012-09-18 | 1 | -13/+22 |
|\ | | | | | Integrate strong_parameters in Rails 4 | ||||
| * | Add config.action_controller.permit_all_attributes to bypass ↵ | Guillermo Iguaran | 2012-09-16 | 1 | -0/+22 |
| | | | | | | | | StrongParameters protection | ||||
| * | Remove configuration test for config.activerecord.whitelist_attributes | Guillermo Iguaran | 2012-09-16 | 1 | -13/+0 |
| | | |||||
* | | Date.beginning_of_week thread local and beginning_of_week application config ↵ | gregolsen | 2012-09-18 | 1 | -0/+22 |
|/ | | | | option added (default is Monday) | ||||
* | Raise more helpful error message on missing gem | Prem Sichanugrist | 2012-08-24 | 1 | -0/+19 |
| | | | | | | Tell people to install `activerecord-session_store` gem when it's not installed instead ofraising `NameError` on missing `ActionDispatch::Session::ActiveRecordStore`. | ||||
* | Deprecate config.threadsafe! | José Valim | 2012-08-21 | 1 | -12/+9 |
| | |||||
* | Get rid of config.preload_frameworks in favor of config.eager_load_namespaces | José Valim | 2012-08-21 | 1 | -16/+0 |
| | | | | | | | The new option allows any Ruby namespace to be registered and set up for eager load. We are effectively exposing the structure existing in Rails since v3.0 for all developers in order to make their applications thread-safe and CoW friendly. | ||||
* | Remove allow_concurrency as a flag | José Valim | 2012-08-21 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | The flag was mainly used to add a Rack::Lock middleware to the stack, but the only scenario the lock is desired is in development. If you are deploying on a not-threaded server, the Rack::Lock does not provide any benefit since you don't have concurrent accesses. On the other hand, if you are on a threaded server, you don't want the lock, since it defeats the purpose of using a threaded server. If there is someone out there, running on a thread server and does want a lock, it can be added to your environment as easy as: `use Rack::Lock` | ||||
* | ruby 1.9 hash syntax for generated code | Richard Huang | 2012-06-23 | 1 | -4/+4 |
| | | | | | | | | app/controllers/application_controller.rb app/views/layouts/application.html.erb config/application.rb config/routes.rb test/performance/browsing_test.rb | ||||
* | TestCase does not need to be loaded when loading the framework | Aaron Patterson | 2012-06-15 | 1 | -1/+10 |
| | |||||
* | Fix observers with AR::Model | Jon Leighton | 2012-06-15 | 1 | -0/+21 |
| | |||||
* | Fix config.active_record.whitelist_attributes with AR::Model | Jon Leighton | 2012-06-15 | 1 | -3/+4 |
| | |||||
* | Use . instead of :: for class methods, add CHANGELOG entries | José Valim | 2012-06-10 | 1 | -1/+1 |
| | |||||
* | Merge pull request #6665 from schneems/schneems/raise-migration-error | José Valim | 2012-06-10 | 1 | -0/+15 |
|\ | | | | | Notify A User they Have Pending Migrations | ||||
| * | test errors for pending migrations | schneems | 2012-06-09 | 1 | -0/+15 |
| | | | | | | App should raise error on page_load | ||||
* | | Fix tests, active_authorizer shouldn't include blank values | Piotr Sarnacki | 2012-06-09 | 1 | -1/+1 |
|/ | | | | Fix for a test failing after: 00ff0a6776 | ||||
* | More assert_match warnings fixed. | Arun Agrawal | 2012-05-30 | 1 | -3/+3 |
| | |||||
* | add a factory method for queue construction so that apps can have multiple ↵ | Aaron Patterson | 2012-04-27 | 1 | -0/+8 |
| | | | | queues | ||||
* | configure how unverified request will be handled | Sergey Nartimov | 2012-03-09 | 1 | -4/+14 |
| | | | | | | | | | | | | | can be configured using `:with` option in `protect_from_forgery` method or `request_forgery_protection_method` config option possible values: - :reset_session (default) - :exception new applications are generated with: protect_from_forgery :with => :exception | ||||
* | put and patch both are allowed for update | Arun Agrawal | 2012-02-25 | 1 | -1/+7 |
| | |||||
* | uses PATCH for the forms of persisted records, and routes PATCH and PUT to ↵ | Xavier Noria | 2012-02-24 | 1 | -4/+0 |
| | | | | the update action of resources | ||||
* | Add config.default_method_for_update to support PATCH | David Lee | 2012-02-22 | 1 | -2/+45 |
| | | | | | | | | | | | | | | | | PATCH is the correct HTML verb to map to the #update action. The semantics for PATCH allows for partial updates, whereas PUT requires a complete replacement. Changes: * adds config.default_method_for_update you can set to :patch * optionally use PATCH instead of PUT in resource routes and forms * adds the #patch verb to routes to detect PATCH requests * adds #patch? to Request * changes documentation and comments to indicate support for PATCH This change maintains complete backwards compatibility by keeping :put as the default for config.default_method_for_update. | ||||
* | fix a small typo [ci skip] | Vijay Dev | 2012-01-27 | 1 | -1/+1 |
| |