aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/configuring.md
Commit message (Collapse)AuthorAgeFilesLines
* Add log_level options to configuration guideSammy Larbi2015-01-061-1/+1
|
* Add config to halt callback chain on return falseclaudiob2015-01-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This stems from [a comment](rails#17227 (comment)) by @dhh. In summary: * New Rails 5.0 apps will not accept `return false` as a way to halt callback chains, and will not display a deprecation warning. * Existing apps ported to Rails 5.0 will still accept `return false` as a way to halt callback chains, albeit with a deprecation warning. For this purpose, this commit introduces a Rails configuration option: ```ruby config.active_support.halt_callback_chains_on_return_false ``` For new Rails 5.0 apps, this option will be set to `false` by a new initializer `config/initializers/callback_terminator.rb`: ```ruby Rails.application.config.active_support.halt_callback_chains_on_return_false = false ``` For existing apps ported to Rails 5.0, the initializers above will not exist. Even running `rake rails:update` will not create this initializer. Since the default value of `halt_callback_chains_on_return_false` is set to `true`, these apps will still accept `return true` as a way to halt callback chains, displaying a deprecation warning. Developers will be able to switch to the new behavior (and stop the warning) by manually adding the line above to their `config/application.rb`. A gist with the suggested release notes to add to Rails 5.0 after this commit is available at https://gist.github.com/claudiob/614c59409fb7d11f2931
* Document the include_all_helpers config setting.Adam Prescott2014-12-291-0/+2
| | | | | This config setting has been available for quite a while but was not documented.
* Minor documentation edits [ci skip]Robin Dupret2014-12-281-1/+1
|
* warn about reading guides in GitHubXavier Noria2014-12-231-0/+2
| | | | References #18148.
* Use serve_static_files in guides, take 2 [skip ci]Arthur Neves2014-12-221-2/+2
|
* Use serve_static_files in guides [skip ci]Arthur Neves2014-12-221-1/+1
|
* [ci skip] Improve grammar in configuring serve_static_files guideeileencodes2014-12-201-1/+1
|
* Merge pull request #18100 from chancancode/serve_static_filesGodfrey Chan2014-12-191-1/+1
| | | | | | Allow static asset serving from env variable (enhanced!) Conflicts: railties/CHANGELOG.md
* Replace ActionDispatch::Head with Rack::Head.yui-knk2014-11-241-3/+3
|
* [ci skip] fix `config.assets.digest` default valueyuuji.yaginuma2014-11-051-1/+1
|
* [ci skip] add AC::InvalidCrossOriginRequest to list of rescue_responses defaultyuuji.yaginuma2014-10-161-14/+15
|
* minor fixes in the configuring guide [ci skip]Xavier Noria2014-10-031-15/+15
|
* Revert "Fix style for rescue responses doc [ci skip]"Xavier Noria2014-10-031-16/+15
| | | | | | | Reason: There is a wrong newline, a typo, and the change to singular is not good. This reverts commit d76380cf1ccec7ffeff19827ae9b6d9b71327418.
* Fix style for rescue responses doc [ci skip]Yuki Nishijima2014-10-021-15/+16
| | | | | | | | | | * Change 'Any ***s that are...' to 'Any *** that is...' * Fix style for default rescue_responses setting This is a follow-up commit to: * https://github.com/rails/rails/pull/17076 * https://github.com/yuki24/rails/commit/89b8836f2470c689f6b7d52cab3a418bb63aef26
* Add documentation about `config.action_dispatch.rescue_responses`Yuki Nishijima2014-09-261-0/+23
| | | | [ci skip]
* [ci skip] Remove reference to config.threadsafe! in guides/configuriing.mdByron Bischoff2014-09-251-2/+2
|
* [ci skip] modify the description of production log level defaultyuuji.yaginuma2014-09-211-1/+1
|
* Default to sorting user's test cases for nowGodfrey Chan2014-09-081-0/+2
| | | | | | | | | | | Goals: 1. Default to :random for newly generated applications 2. Default to :sorted for existing applications with a warning 3. Only show the warning once 4. Only show the warning if the app actually uses AS::TestCase Fixes #16769
* Remove '*' which doesn't workTatsuya Sato2014-09-031-1/+1
| | | I found an * does not work in Markdown notation. It should be removed.
* Fix for configuring rails guideRavil Bayramgalin2014-09-011-1/+1
| | | | `ActiveSupport::Logger` has no concept like auto flushing since it has no userspace buffering. It's a remnant of `ActiveSupport::BufferedLogger` epoch which was since removed from rails.
* Update configuring.md [ci skip]Tee Parham2014-08-201-2/+0
| | | Remove ActiveRecord config instructions for active_record.attribute_types_cached_by_default, which was removed in https://github.com/rails/rails/commit/66736c8e50585
* Revert "Improve custom configuration"Rafael Mendonça França2014-08-191-9/+7
| | | | | | | | | This reverts commit de4891344ccc074f6d5693f4fac6ad610584e336. Conflicts: railties/lib/rails/railtie/configuration.rb It added regression. Will be back after the beta
* Improve custom configurationRafael Mendonça França2014-08-191-7/+9
| | | | | | | | | | | | | | | | 1. Hashes can be assigned 2. We don't need a special level anymore The method chain only works in the top level. If users need a second level they need to assign a OrderedOptions to the key: config.resque.server = ActiveSupport::OrderedOptions.new config.resque.server.url = "http://localhost" config.resque.server.port = 3000 [Rafael Mendonça França + Carlos Antonio da Silva]
* Merge pull request #16375 from johnnyshields/guidesRichard Schneeman2014-08-041-0/+2
|\ | | | | Guides: Add definition of `config.assets.manifest` option to configuring.md
| * [ci skip] Guides: Add definition of `config.assets.manifest` option to ↵Johnny Shields2014-08-051-0/+2
| | | | | | | | configuring.md
* | Pull in the custom configuration concept from dhh/custom_configurationDavid Heinemeier Hansson2014-08-031-0/+21
|/
* [ci skip] fix markdownschneems2014-08-021-1/+1
|
* Rename preview_enabled option to show_previewsRafael Mendonça França2014-07-011-2/+2
|
* Add configuration to enable mail previewsLeonard Garvey2014-07-011-0/+12
| | | | | | | | | | | | | | | | | | Adds `config.action_mailer.preview_enabled` This allows mail previewing to be enabled easily in non-development environments such as staging. The default is set to true for development so no changes should be required to existing Rails applications. The mail preview path can still be configured using the existing `config.action_mailer.preview_path` configuration option. Adding this avoids devs from having to do stuff like: https://gist.github.com/lengarvey/fa2c9bd6cdbeba96526a Update actionmailer/CHANGELOG with new configuration. Update configuring guide with new configuratation. Add `config.action_mailer.preview_path` to configuring guide.
* Merge pull request #15933 from rafael/masterRafael Mendonça França2014-06-271-0/+2
|\ | | | | | | | | | | Add always permitted parameters as a configurable option. [Rafael Mendonça França + Gary S. Weaver]
| * Improvements per code review.Rafael Chacón2014-06-271-1/+3
| | | | | | | | | | | | * General style fixes. * Add changes to configuration guide. * Add missing tests.
* | [ci skip] doc corrected : ActiveRecord::Base.connections to ↵Rahul P. Chaudhari2014-06-171-3/+3
| | | | | | | | ActiveRecord::Base.configurations
* | [ci skip] Fix capitalizationAkshay Vishnoi2014-06-071-5/+5
| |
* | Merge pull request #13988 from zzak/guides_configuring_reverse_proxyZachary Scott2014-05-241-4/+38
|\ \ | | | | | | [Guides] Add documentation for using Rails with a reverse proxy [ci skip]
| * | Add documentation for using Rails with a reverse proxyZachary Scott2014-05-241-4/+38
| | |
* | | Rename Posts to Articles in Guides, continuation of 2d446e77 / #13774 [ci skip]John Kelly Ferguson2014-05-211-3/+3
| | |
* | | Use generated binstubs in guides examples.Josef Šimánek2014-05-201-3/+3
|/ / | | | | | | [ci skip]
* | [ci skip] builtin -> built-inAkshay Vishnoi2014-04-201-1/+1
| |
* | Merge branch 'master' of github.com:rails/docrailsVijay Dev2014-04-181-3/+11
|\ \
| * | [ci skip] document `statement_limit` schneems2014-04-151-1/+11
| | | | | | | | | | | | | | | Per discussion at https://github.com/rails/rails/issues/14645#issuecomment-40499409
| * | [ci skip] PP does not generate pass by defaultschneems2014-04-151-2/+0
| | | | | | | | | | | | This was changed in https://github.com/rails/rails/pull/13415/files
* | | Revise 'sqlite3:' URL handling for smoother upgradesMatthew Draper2014-04-031-2/+2
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Restore the 4.0 behaviour for 'sqlite3:///', but deprecate it. We'll change to the absolute-path interpretation in 4.2. The current "correct" spellings for in-memory, relative, and absolute URLs, respectively, are: sqlite3::memory: sqlite3:relative/path sqlite3:/full/path Substantially reverses/defers fbb79b517f3127ba620fedd01849f9628b78d6ce. Uncovered by @guilleiguaran while investigating #14495, though that sounds like a different issue.
* | fix log_tags request object grammarIain D Broadfoot2014-03-211-1/+1
| |
* | Merge branch 'master' of github.com:rails/docrailsVijay Dev2014-03-071-1/+1
|\ \ | | | | | | | | | | | | Conflicts: guides/source/4_1_release_notes.md
| * | Tweak Configuring Guide languageGaurish Sharma2014-02-231-1/+1
| | | | | | | | | the fact that Rails is multi-thread by default is not very relevant. see https://github.com/rails/rails/pull/13998 [ci skip]
* | | Fix guide about `config.active_record.default_timezone` [ci skip]joker10072014-03-061-1/+1
| | | | | | | | | | | | Now the initial value of ActiveRecord.default_timezone is always :utc
* | | [ci skip] use secrets.secret_key_base instead of config.secret_key_baseKuldeep Aggarwal2014-03-011-1/+1
|/ / | | | | | | use secrets.yml instead of secret_token.rb
* | `Rails.threadsafe!` mode is deprecatedGaurish Sharma2014-02-101-1/+1
| | | | | | | | [ci skip]
* | Merge branch 'master' of github.com:rails/docrailsVijay Dev2014-02-091-2/+1
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: guides/source/active_record_validations.md guides/source/api_documentation_guidelines.md guides/source/configuring.md