aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/configuring.md
Commit message (Collapse)AuthorAgeFilesLines
* Update #20768 to address feedbackSean Griffin2015-10-201-3/+3
|
* [Rails Guides] Clarify `belongs_to_required_by_default` optionVladimir Rybas2015-10-201-1/+3
| | | | | | | | | | | | Original: * `config.active_record.belongs_to_required_by_default` is a boolean value and controls whether `belongs_to` association is required by default. Modified version: * `config.active_record.belongs_to_required_by_default` is a boolean value and controls whether validation error is triggered by default if `belongs_to` association is not present or not valid.
* Fixed deprecated string to specify the middleware [ci skip]amitkumarsuroliya2015-10-031-1/+1
|
* Refactor AS::Callbacks halt config and fix the documentationRoque Pinel2015-10-011-1/+1
| | | | | | | | | Move from `AS::Callbacks::CallbackChain.halt_and_display_warning_on_return_false` to `AS::Callbacks.halt_and_display_warning_on_return_false` base on [this discussion](https://github.com/rails/rails/pull/21218#discussion_r39354580) Fix the documentation broken by 0a120a818d413c64ff9867125f0b03788fc306f8
* Make fuzzy sentence more clearDavid Verhasselt2015-09-281-1/+1
| | | | [ci skip]
* mostly remove the ParamsParser middlewareAaron Patterson2015-09-181-1/+0
| | | | | This can still be added to the middleware stack, but is really not necessary. I'll follow up with a commit that deprecates the constant
* Merge pull request #21512 from X0nic/guides-clarify-timeout-errorYves Senn2015-09-081-1/+1
|\ | | | | [Rails Guides] clarify `ActiveRecord::ConnectionTimeoutError`
| * [Rails Guides] clarify `ActiveRecord::ConnectionTimeoutError`Nathan Lee2015-09-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Original: * ActiveRecord::ConnectionTimeoutError - could not obtain a database connection within 5 seconds. The max pool size is currently 5; consider increasing it: Modified version: * ActiveRecord::ConnectionTimeoutError - could not obtain a database connection within 5.000 seconds (waited 5.000 seconds) [ci skip]
* | Merge pull request #21534 from Vratislav/clarify-custom-config-guideRafael Mendonça França2015-09-071-1/+1
|/ | | [Rails Guides] Clarify custom code configuration [ci skip]
* Fix Configuring Active Record [ci skip]Alexey Markov2015-08-271-2/+2
|
* Make disable_with default in submit_tagJustin Schiff2015-08-111-0/+3
| | | | | | | | | | | | | | Prevents double submission by making disable_with the default. Default disable_with option will only be applied if user has not specified her/his own disable_with option, whether that is in the `data-disable-with` string form or the `:data => { :disable_with => "Saving..." }` hash form. disable_with will default to the value attribute. A configuration option was added to opt out of this functionality if the user so desires. `config.action_view.automatically_disable_submit_tag = false`
* [ci skip] `field_error_proc` is used in ↵yui-knk2015-07-291-1/+1
| | | | | | `ActionView::Helpers::ActiveModelInstanceTag` so replace `Active Record` with `Active Model`
* [skip ci] Improve grammar/style in DB pooling guide.Tim Wade2015-07-161-7/+7
|
* Merge pull request #20736 from antoine-lizee/docsRobin Dupret2015-07-131-1/+1
|\ | | | | [ci skip] docs: making clear that perform_caching has a limited impact
| * [ci skip] doc: making clear that perform_caching has a limited impactantoine.lizee2015-07-131-1/+1
| |
* | Merge pull request #20741 from radar/integration_tool_docRafael Mendonça França2015-06-301-1/+1
|\ \ | |/ |/| Improve integration_tool documentation
| * integration_tool defaults to :test_unitRyan Bigg2015-06-301-1/+1
| | | | | | | | | | | | | | | | | | | | As per railties/lib/rails/test_unit/railtie.rb, where it sets it explicitly. This can be confirmed by starting a new Rails console session in a new app and running this code: Rails.application.config.app_generators.rails[:integration_tool] I also beefed up the documentation slightly to be more explicit about what this configuration setting does.
* | Tiny documentation edits [ci skip]Robin Dupret2015-06-071-1/+2
| |
* | A few documentation tweaks [ci skip]Robin Dupret2015-06-071-1/+2
| | | | | | | | [Robin Dupret & Shunsuke Aida]
* | Merge pull request #20423 from Erol/remove-assets-version-documentationRafael Mendonça França2015-06-061-2/+0
|\ \ | | | | | | Remove `config.assets.version` from Configuring Rails Application Guide
| * | Remove reference to assets version option.Erol Fornoles2015-06-031-2/+0
| | |
* | | Document config.action_mailer.deliver_later_queue_nameRafael Mendonça França2015-06-031-0/+2
|/ / | | | | | | | | | | Also add a CHANGELOG entry for #18587 [ci skip]
* | Remove description of `dependency_loading` optionNikolay Kondratyev2015-06-011-2/+0
| | | | | | | | | | | | This option has been removed in e6747d87f3a061d153215715d56acbb0be20191f [ci skip]
* | config.static_index configures directory index "index.html" filenameEliot Sykes2015-05-281-1/+1
| | | | | | | | | | | | Set `config.static_index` to serve a static directory index file not named `index`. For example, to serve `main.html` instead of `index.html` for directory requests, set `config.static_index` to `"main"`.
* | Rails documentation standard is american english. [ci skip]Ronak Jangir2015-05-201-1/+1
| |
* | Merge pull request #20178 from ↵Santiago Pastorino2015-05-171-1/+1
|\ \ | | | | | | | | | | | | vngrs/fix_wrong_default_value_of_javascript_engine config.generators javascript_engine default value is :js not nil
| * | config.generators javascript_engine default value is :js not nil [ci skip]Mehmet Emin İNAÇ2015-05-171-1/+1
| | |
* | | add missing documentation about generators resource_route [ci skip]Mehmet Emin İNAÇ2015-05-171-0/+1
|/ /
* | [ci skip] remove unnecessary mention to Test::Unit from docsRoque Pinel2015-05-161-1/+1
| | | | | | | | | | | | | | | | Fix the guide to state that Rails uses Minitest as the default test framework. Remove unnecessary mention to Test::Unit from the API docs ('constantize' and 'safe_constantize').
* | Fix default value in guide [ci skip]Kohei Suzuki2015-05-121-1/+1
| |
* | Clarify test_order default configuration behaviour [ci skip]Eliot Sykes2015-04-281-1/+1
| | | | | | | | | | | | | | Explain config.active_support.test_order defaults to :random in newly-generated applications thanks to generated config/environments/test.rb, otherwise default is :sorted (until Rails 5.0).
* | Merge pull request #19236 from sshaw/more_tagged_logging_docsYves Senn2015-04-241-1/+1
|\ \ | |/ |/| More docs on tagged logging [ci skip]
| * More docs on tagged logging [ci skip]sshaw2015-03-061-1/+1
| | | | | | | | | | Mention that tags can also come from a Proc that accepts the request object or something's to_s method
* | Fix typos and improve the documentationJon Atack2015-04-151-5/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a squash of the following commits, from first to last: - Fix minor, random things I’ve come across lately that individually did not seem worth making a PR for, so I saved them for one commit. One common error is using “it’s” (which is an abbreviation of “it is”) when the possessive “its” should be used for indicating possession. - Changes include the name of a test, so remove the `[skip ci]` (thanks @senny). - Line wrap the changes at 80 chars and add one more doc fix. - Add a missing line wrap in the Contributing to Ruby on Rails Guide. - Line wrap the `TIP` section in the Contributing to Ruby on Rails Guide as well. Rendering the guide locally with `bundle exec rake guides:generate` did not show any change in on-screen formatting after adding the line wrap. The HTML generated is (extra line added to illustrate where the line wrap takes place): <div class="info"><p>Please squash your commits into a single commit when appropriate. This simplifies future cherry picks and also keeps the git log clean.</p></div> - Squash commits.
* | Add Active Job to Configuring Guide [ci skip]Eliot Sykes2015-04-091-0/+56
| |
* | Remove unused subdir deployment considerations section [ci skip]Eliot Sykes2015-03-311-9/+0
| |
* | [skip ci] Update configuring.md with #18846Jon Atack2015-03-271-0/+5
| | | | | | | | | | Add `config.active_record.warn_on_records_fetched_greater_than` to the Configuring Rails Guide.
* | Add config.active_record.dump_schemas.Ryan Wallace2015-03-171-0/+5
|/ | | | | | | Fixes db:structure:dump when using schema_search_path and PostgreSQL extensions. Closes #17157.
* Some documentation edits [ci skip]Robin Dupret2015-03-051-1/+3
| | | | | | * Fix a few typos * Wrap some lines around 80 chars * Rephrase some statements
* Update cache_timestamp_format default value in guidesT.J. Schuck2015-03-031-1/+1
| | | [ci skip]
* Remove mention of long-gone initializer and configJeremy Kemper2015-03-031-2/+0
| | | | | Serving public files from multiple paths was removed in afc828828ffffe7edeb4648a9d2aa4731191ae21
* Require `belongs_to` by default.Josef Šimánek2015-02-211-0/+2
| | | | Deprecate `required` option in favor of `optional` for belongs_to.
* Minor guides edits [ci skip]Robin Dupret2015-02-211-7/+9
|
* Revert c732a66:Zachary Scott2015-02-161-0/+4
| | | | | | | | * "rm docs for dependency_loading and disable_dependency_loading config" It was added back in a71350cae0082193ad8c66d65ab62e8bb0b7853b by @tenderlove See also #13142
* Merge pull request #18960 from ctaintor/remove_dependency_docZachary Scott2015-02-161-4/+0
|\ | | | | removes documentation that is no longer relevant
| * removes docs for dependency_loading config option and ↵Case Taintor2015-02-161-4/+0
| | | | | | | | disable_dependency_loading initializer because it was removed by commit a8bf12979e5fa15282b39c8cfa315e663f613539
* | Merge pull request #18485 from andreynering/robots.txtZachary Scott2015-02-161-0/+18
|\ \ | |/ |/| Adding 'Search Engines Indexing' Section [ci skip]
| * Adding 'Search Engines Indexing' Section [ci skip]Andrey Nering2015-01-141-0/+18
| |
* | Merge branch 'master' of github.com:rails/docrailsVijay Dev2015-01-151-1/+1
|\ \ | |/ |/|
| * Fix typo "you can be disable"claudiob2015-01-061-1/+1
| | | | | | | | | | | | Closes https://github.com/rails/rails/issues/18372 [ci skip]