aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/configuring.md
Commit message (Collapse)AuthorAgeFilesLines
* Set `represent_boolean_as_integer` via `configuration`yuuji.yaginuma2017-07-161-1/+1
|
* Fix boolean column migration scriptyuuji.yaginuma2017-07-131-1/+1
|
* Change sqlite3 boolean serialization to use 1 and 0Lisa Ugray2017-07-111-0/+22
| | | | | | | | | | | | | | | | | | | | Abstract boolean serialization has been using 't' and 'f', with MySQL overriding that to use 1 and 0. This has the advantage that SQLite natively recognizes 1 and 0 as true and false, but does not natively recognize 't' and 'f'. This change in serialization requires a migration of stored boolean data for SQLite databases, so it's implemented behind a configuration flag whose default false value is deprecated. The flag itself can be deprecated in a future version of Rails. While loaded models will give the correct result for boolean columns without migrating old data, where() clauses will interact incorrectly with old data. While working in this area, also change the abstract adapter to use `"TRUE"` and `"FALSE"` as quoted values and `true` and `false` for unquoted. These are supported by PostreSQL, and MySQL remains overriden.
* Protect from forgery by defaultLisa Ugray2017-07-101-0/+2
| | | | | | | | Rather than protecting from forgery in the generated ApplicationController, add it to ActionController::Base by config. This configuration defaults to false to support older versions which have removed it from their ApplicationController, but is set to true for Rails 5.2.
* Remove references to deprecared raise_runtime_errors from documentation, ↵Vipul A M2017-06-171-2/+0
| | | | which is always enabled now. Ref: https://github.com/rails/sprockets-rails/commit/655b93bffc6f51b96a7cc097f9010942693bfaae and https://github.com/rails/rails/pull/24070 . Fixes #29483 [ci skip] (#29484)
* Merge pull request #29257 from ↵Kasper Timm Hansen2017-05-281-3/+1
|\ | | | | | | | | clupprich/remove-action-dispatch-callbacks-to-prepare-mention Remove mentions of deprecated callbacks on ActionDispatch::Callbacks
| * Remove mentions of deprecated callbacks on ActionDispatch::CallbacksChristoph Lupprich2017-05-281-3/+1
| | | | | | | | | | ActionDispatch::Callbacks.to_prepare was removed in #27587 [ci skip]
* | AEAD encrypted cookies and sessionsMichael Coyne2017-05-221-2/+6
|/ | | | | | | | | | | | | | | | This commit changes encrypted cookies from AES in CBC HMAC mode to Authenticated Encryption using AES-GCM. It also provides a cookie jar to transparently upgrade encrypted cookies to this new scheme. Some other notable changes include: - There is a new application configuration value: +use_authenticated_cookie_encryption+. When enabled, AEAD encrypted cookies will be used. - +cookies.signed+ does not raise a +TypeError+ now if the name of an encrypted cookie is used. Encrypted cookies using the same key as signed cookies would be verified and serialization would then fail due the message still be encrypted.
* Add missing `action_view` section of config flagJon Moss2017-04-241-1/+1
| | | | [ci skip]
* Add `form_with_generates_remote_forms` to configuring guide [ci skip]yuuji.yaginuma2017-04-251-0/+2
|
* Update Configuring Rails Component guide exampleHendy Tanata2017-03-211-1/+1
| | | | | | config.time_zone is no longer in included in config/application.rb. See 28dcadc0140dfdebe87d5e691fd709c0a9ae0bae.
* Escapes and edits to configuring guide [ci skip] (#28280)Vipul A M2017-03-041-5/+5
|
* [ci skip] Update Guides to use macOS instead of Mac OS XVitali Tatarintev2017-02-201-1/+1
|
* Update configuration guide about ActiveRecord's config option.Stan Lo2017-02-101-0/+5
|
* remove `ActiveSupport.halt_callback_chains_on_return_false` from everywhereyuuji.yaginuma2017-02-081-2/+0
|
* remove link to edgeapi [ci skip]yuuji.yaginuma2017-02-081-1/+1
|
* update doc about assets digest class [ci skip]yuuji.yaginuma2016-10-301-2/+2
| | | | | The default digest class changed to SHA256 in sprockets 3.0. Ref: https://github.com/sstephenson/sprockets/pull/647
* Add documentation for `config.assets.version` [skip ci]Erol Fornoles2016-10-281-0/+2
|
* fix initializer name [ci skip]yuuji.yaginuma2016-10-271-1/+1
| | | | This changed in c046660
* Pull request for ticket 26769 (#26770)rmarone2016-10-151-1/+1
| | | | | | * Clarify the default behavior of log_formatter Updates language to remove reference to production.rb and fix quoting
* Deprecated ActionDispatch::ParamsParser::ParamsParserRafael Mendonça França2016-10-101-17/+17
| | | | | | ActionDispatch::ParamsParser class was removed in favor of ActionDispatch::Http::Parameters so it is better to move the error constant to the new class.
* Allow the use of listen's 3.1.x branch.Esteban Santana Santana2016-10-031-1/+1
| | | | | | When the initial evented monitor feature was written, the latest version of listen was the 3.0.x series. Since then the listen project has moved on to the 3.1.x series. This patch allows the use of the new versions.
* update doc about default `cache_store` [ci skip]yuuji.yaginuma2016-09-081-1/+1
| | | | The default `cache_store` has changed in 8f0e0b6 to use `file_store`.
* Merge pull request #26390 from Neodelf/format_mdsVipul A M2016-09-071-1/+1
|\ | | | | [ci skip] Simply formatting documents
| * [ci skip] Simply formatting documentsNeodelf2016-09-061-1/+1
| |
* | Remove the word "mongrel" from documentsRyunosuke Sato2016-09-071-1/+1
|/ | | | | | | | | Currently mongrel is not maintained. And it couldn't be built with any Ruby versions that supported by Rails. It is reasonable to remove the word "mongrel" in order to avoid confusion from newcomer.
* Explicitly mention defaults.schneems2016-08-291-1/+1
|
* Address doc style comments from @robin850schneems2016-08-291-1/+1
|
* [ci skip] configuring.md assets.unknown_asset_fallbackschneems2016-08-291-0/+2
|
* Clarify two ways to set Rails configuration optionsJon Moss2016-08-261-5/+8
| | | | [ci skip]
* Add back in `config_for` exampleJon Moss2016-08-261-0/+28
| | | | [ci skip]
* Revert "Merge pull request #21995 from tak1n/master"Jon Moss2016-08-261-35/+8
| | | | | This reverts commit 4973704bf56dbb0d8beba977e1053d57e346ebd0, reversing changes made to 78edeb33346e13ab33a62d2a6b553aabf5b3186a.
* Remove the SchemaDumper options and change the default behaviorRafael Mendonça França2016-08-221-3/+1
| | | | | Now the schema dumper by default doesn't align the types and arguments in the ruby format anymore.
* Option not to line up column types and attributes in schema.rbTim Petricola2016-08-171-1/+3
|
* Fix the documentation for configuring `enable_fragment_cache_logging` [ci skip]Prathamesh Sonpatki2016-08-141-8/+16
| | | | - It is Action Controller config, not Action View.
* update list of rescue_responses default [ci skip]yuuji.yaginuma2016-08-091-0/+2
| | | | Follow up to fe859a54219740fa8b4e09a592820d2ee12ba222
* Modify LogSubscriber for single partial's cache message.Stan Lo2016-08-081-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement naive partial caching mechanism. Add test for LogSubscriber Use ActionView::Base#log_payload to store log_subscriber's payload, so we can pass cache result into it. Fixed tests Remove useless settings Check if #log_payload exists before calling it. Because other classes also includes CacheHelper but don't have is attribute Use @log_payload_for_partial_reder instead of #log_payload to carry ActionView's payload. Update test's hash syntax Add configuration to enable/disable fragment caching logging Remove unless test and add new test to ensure cache info won't effect next rendering's log Move :enable_fragment_cache_logging config from ActionView to ActionPack Apply new config to tests Update actionview's changelog Update configuration guide Improve actionview's changelog Refactor PartialRenderer#render and log tests Mute subscriber's log instead of disabling instrumentation. Fix typo, remove useless comment and use new hash syntax Improve actionpack's log_subscriber test Fix rebase mistake Apply new config to all caching intstrument actions
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2016-08-021-1/+3
|\
| * Removed reference to callback_terminator.rb in docsIain Beeston2016-07-211-1/+1
| | | | | | | | That file has been removed and replaced with new_framework_defaults.rb
| * Add `config.assets.quiet` to configuration guide [ci skip]Prathamesh Sonpatki2016-07-101-0/+2
| |
* | Merge pull request #25438 from prathamesh-sonpatki/rm-session-store-initializerRafael Mendonça França2016-07-201-1/+1
|\ \ | | | | | | | | | Setup default session store internally, no longer through an initializer
| * | Setup default session store internally, no longer through an application ↵Prathamesh Sonpatki2016-07-171-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | initializer - By default the session store will be set to cookie store with application name as session key. - Older apps are not affected as they will have the session store initializer generated by Rails in older versions, and Rails will not overwrite the session store if it is already set or disabled. - But new apps will not have the initializer, instead the session store will be set to cookie store by default. - Based on comment by DHH here - https://github.com/rails/rails/issues/25181#issuecomment-222312764.
* / Fix documentation of `error_on_ignored_order` optionPrathamesh Sonpatki2016-07-181-4/+4
|/ | | | - Followup of https://github.com/rails/rails/commit/451437c6f57e66cc7586ec966e530493927098c7
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2016-07-101-1/+3
|\
| * Expand on #24071 for specifying custom locale fallbacks. [ci skip]Vipul A M2016-06-291-1/+3
| |
* | remove `-t` option from default sendmail arguments [ci skip]yuuji.yaginuma2016-07-061-1/+1
| | | | | | | | Follow up to #24436
* | Add a note about autoloading being disabled in production env in upgrade ↵Prathamesh Sonpatki2016-06-301-1/+1
| | | | | | | | | | | | guide [ci skip] - Also to_time_preserves_timezone config should be false for older apps getting upgraded to Rails 5 [ci skip]
* | update description of `test_order` [ci skip]yuuji.yaginuma2016-06-291-1/+1
|/ | | | Follow up to 5f777e4b5ee2e3e8e6fd0e2a208ec2a4d25a960d
* Update grammar for `config.enable_dependency_loading` docsJon Moss2016-06-241-1/+1
| | | | | | [ci skip] r? @rafaelfranca
* Add option to enable dependency loading in productionRafael Mendonça França2016-06-221-0/+2
| | | | | | | | This will make easier to applications that rely on having const_missing hooks in production upgrade to Rails 5. This option is going to be remove in the future and the default behavior will be to disable the dependency loading.