Commit Graph

4969 Commits

Author SHA1 Message Date
yuuji.yaginuma 529cebe22f remove link to edgeapi [ci skip] 2017-02-08 08:23:53 +09:00
Xavier Noria 770e685c22 Merge pull request #27232 from robin850/guides-linking
Improve linking inside guides
2017-02-07 12:51:49 -08:00
Robin Dupret ea141d62df Automatically link to Ruby files referenced in notes [ci skip]
To ease reading the "Active Support Core Extensions" guide, let's
automatically link references to Ruby files.

It's also possible to reference other components' files in the even
though it's not used in the guides at the moment.

[Petr Skocik & Robin Dupret]
2017-02-07 21:45:53 +01:00
Robin Dupret 0676d28b22 Automatically inject the current Rails version in API links [ci skip]
To make sure that the user won't look at a feature that doesn't
already exist if they are looking at a previous version of the guides,
let's automatically inject the Rails version the guides have been
generated against.
2017-02-07 18:56:43 +01:00
kenta-s 3ea926b86a Add information on `:formats` option in action_view_overview.md 2017-02-06 21:47:08 +09:00
Matthew Eagar d9ba3b1e55 Fix typo in guide: _articles should be _article
The guide contains a typo in the "local_assigns" section, where
rendering a model named 'Article' via `render @articles` is shown to
render a partial called `_articles.html.erb`, when in fact the necessary
partial name is `_article.html.erb`
2017-02-03 11:46:08 -05:00
Rich Seviora d4ddf7b72f Added warning for reserved YAML keywords.
Update i18n.md

Addressed Feedback
2017-01-30 15:02:01 -08:00
Carlos Gavino d81f2953f4 Fix judgement spelling [ci skip]
`judgment` is the preferred form as Rails usually follows en-us spelling
not en-gb.
2017-01-28 21:05:25 +08:00
Daniel Martin c85a9714ba Bump bug report template versions to 5.0.1 2017-01-26 10:43:32 +01:00
Scott González 175e7efbc1 Action Mailer Basics clean up [ci skip] 2017-01-25 16:17:12 -05:00
Scott González d09be0b005 Clean up wording in Action Mailer Basics [ci skip] 2017-01-21 10:54:36 -05:00
Olivier Lacan c354eafd02 Mention ActiveRecord's config.example.yml
This will help people figure out what credentials and tables are required to 
run ActiveRecord specs.
2017-01-19 19:43:44 +01:00
Jon Moss 9465acd691 Various style + grammar fixes for #27719
[ci skip]
2017-01-18 15:22:02 -05:00
Hisashi Kamezawa bb8e892ea0 update links of pluralization in i18n guide 2017-01-18 17:31:52 +09:00
Chad Ingram f18d1e1e52 Update ActionCable guide to better describe SubscriptionAdapter configuration. 2017-01-17 23:37:28 -05:00
yuuji.yaginuma 073f4ecb14 allow to pass describe option to rake
Since `Thor::HELP_MAPPINGS` contains `-D`, so `bin/rails -D` show
rails's help. But, in Rails 5.0.1, `bin/rails -D` show the description
of rake task. I think that it is better to have the same behavior.
2017-01-17 14:14:59 +09:00
Kasper Timm Hansen 7c3a99eeca Revert "Merge pull request #27686 from koic/friendly_bigdecimal_inspect"
The exact inspect output of a BigDecimal is out of scope for what we're trying
to communicate about `dup` and `duplicable?` here.

Adding two examples distracts is disctracting, so keep the docs from before
since our minimal version is Ruby 2.2.2.

[ Koichi ITO, Jon Moss, Kasper Timm Hansen ]

This reverts commit 2163874ded, reversing
changes made to 46fdbc5290.
2017-01-15 19:49:34 +01:00
Koichi ITO 7b3d663b4d Several representation of BigDecimal has changed in Ruby 2.4.0+ [ci skip]
cf. https://github.com/ruby/bigdecimal/pull/42
2017-01-15 12:01:55 +09:00
Andrew White 9ae511f550 Add duration constructors for use in Numeric extensions
The Numeric extensions like 1.day, 1.month, etc. shouldn't know
how the internals of ActiveSupport::Duration works.
2017-01-12 10:05:16 +00:00
Andrew White 033f654027 Merge pull request #27610 from Envek/fix_and_speed_up_duration_parsing
Fix inconsistent parsing of Durations with both months and years
2017-01-12 07:20:28 +00:00
Andrey Novikov cb9d0e4864
Fix inconsistent results when parsing large durations and constructing durations from code
ActiveSupport::Duration.parse('P3Y') == 3.years # It should be true

Duration parsing made independent from any moment of time:
Fixed length in seconds is assigned to each duration part during parsing.

Changed duration of months and years in seconds to more accurate and logical:

 1. The value of 365.2425 days in Gregorian year is more accurate
    as it accounts for every 400th non-leap year.

 2. Month's length is bound to year's duration, which makes
    sensible comparisons like `12.months == 1.year` to be `true`
    and nonsensical ones like `30.days == 1.month` to be `false`.

Calculations on times and dates with durations shouldn't be affected as
duration's numeric value isn't used in calculations, only parts are used.

Methods on `Numeric` like `2.days` now use these predefined durations
to avoid duplicating of duration constants through the codebase and
eliminate creation of intermediate durations.
2017-01-09 23:04:48 +03:00
Prathamesh Sonpatki 69c3b47ca1
Add missing release notes entry for f02a35b86e [ci skip] 2017-01-09 14:05:22 +05:30
Kasper Timm Hansen 7f19f30819 Merge pull request #25427 from eugeneius/update_increment_documentation
Update increment! documentation [ci skip]
2017-01-08 20:56:38 +01:00
kenta-s 750c452f63 Fix typo in asset_pipeline.md [ci skip] 2017-01-05 12:42:35 +09:00
Rafael França b1df82e412 Merge pull request #27446 from zachahn/asset-hash-md5-to-sha256
Update asset fingerprinting information
2017-01-04 13:14:56 -05:00
Andrew White d304aefc91 Merge pull request #27552 from jarijokinen/fix-default-locale-code-example
Fix default locale code example [ci skip]
2017-01-04 10:52:31 +00:00
Jari Jokinen 864ef6be9e Add instructions for available_locales [skip ci] 2017-01-04 12:39:30 +02:00
David Sherline 186327f74a
Clarify Bi-directional Associations docs
Rails automatically finds bi-directional associations between models
with well-named associations. However, when using non-standard naming,
you have to use :inverse_of to explicitly tell Rails about the bi-
directional association.

With reference to #27516

[ci skip]
2017-01-03 09:10:36 -06:00
Kir Shatrov 3e4b7ecc28 Update schema cache doc in guides/command_line 2016-12-31 11:42:23 -05:00
Rafael Mendonça França e646bad5b7
Remove deprecated support to passing a column to #quote 2016-12-29 17:53:03 -05:00
Kasper Timm Hansen f2f4fecdf4 [ci skip] Rejigger the dublicable? wording a bit. 2016-12-29 20:20:34 +01:00
Kasper Timm Hansen 80ddb7ee2e Merge pull request #27346 from utilum/core_ext_guide_duplicable
Update list of `duplicable?` objects in AS core_ext guide [ci skip]
2016-12-29 20:12:19 +01:00
प्रथमेश Sonpatki 415e17d0b5 Use proper output format [ci skip] (#27498) 2016-12-29 18:27:48 +05:30
Rafael Mendonça França fcec126eaa
Revert "Revert "Merge pull request #17943 from jeremywadsack/doc_cache_importability""
This reverts commit 6961afefd2.

We were not able to keep backward compatibility in this case so it is
better to ask people to upgrade with cold cache.
2016-12-29 01:33:01 -05:00
Rafael Mendonça França 010e246756
Fix Rubocop violations and fix documentation visibility
Some methods were added to public API in
5b14129d8d and they should be not part of
the public API.
2016-12-28 21:53:51 -05:00
Akira Matsuda 9d9a4bd7cf public methods can be placed after private ones if you want to
[ci skip]
2016-12-25 02:19:35 +09:00
Akira Matsuda 0e109c8710 Abuse of protected in guides 2016-12-25 02:15:32 +09:00
Zach Ahn 8e311940ef Update asset fingerprinting information
- Replaced MD5 => SHA256 where necessary
- Updated sprockets manifest example

See: dd9b3b53c0/lib/sprockets.rb (L26)
2016-12-23 20:23:07 -05:00
utilum 194f97c51e Update list of `duplicable?` objects in AS core_ext guide [ci skip]
Complex and Rational objects can not be duplicated.

Duplicable objects in Ruby 2.4.0 include:
- most numbers
- symbols
- `nil`
- `true`
- `false`
2016-12-23 19:52:36 +01:00
yachibit 85b2a3ea2f fix typo in getting_started [ci skip] (#27423) 2016-12-21 21:44:53 +05:30
Kasper Timm Hansen e592ee20a9 [ci skip] Update initialization guide samples.
Rewrite bits and pieces to mention the command infrastructure.
2016-12-20 20:13:22 +01:00
Eileen M. Uchitelle b61fa5c97e Merge pull request #27365 from baweaver/patch-1
Add note on defaults block option
2016-12-19 09:25:58 -05:00
Bian Jiaping 88792b1b2e Fix rake guides:generate:kindle error 2016-12-18 23:13:50 +08:00
Eike Send 28e49c711e How to disable scaffolds.scss in generators.md (#27383)
* How to disable scaffolds.scss in generators.md

* Improves workflow customization text in generators.md
2016-12-17 12:29:55 -05:00
Kevin Hughes 5578ce4036
[ci skip] add a section explaining command line arguments for generators 2016-12-16 11:16:16 -05:00
Vijay Dev 0aae8aec3b Merge branch 'master' of github.com:rails/docrails 2016-12-16 15:21:06 +00:00
Brandon Weaver 6a116bd909 Add note on defaults block option
When I was looking for how to default the entire routes file to JSON I could only find the postfix option. It was mentioned on IRC that you could do this with a block as well and I had not found it in the documentation.
2016-12-14 17:17:44 -08:00
utilum 7d62e27dd5 Mention JS Runtime dependency in dev dependencies guide [ci skip]. 2016-12-14 16:08:44 +01:00
yuuji.yaginuma 7fab05008c remove deprecated `assert_send` from assertion list [ci skip]
`assert_send` was deprecated in minitest 5.10.0.
Ref: f95ef007ec
2016-12-09 16:12:56 +09:00
yuuji.yaginuma d71f289fb2 stop using removed `render :text`
Follow up to 79a5ea9ead
2016-12-03 15:28:59 +09:00
utilum 2dc74387b7 Fixes #27202, [ci skip] 2016-11-30 21:22:30 +01:00
Rory O’Kane 4c0c7cba2b Fix typo in Rails 5.0 release notes – “when when”
[ci skip]
2016-11-29 16:46:10 -05:00
JessRudder a92e115e19 Add note about step needed to get tests to pass if you implemented basic auth [ci skip] 2016-11-28 19:28:40 -05:00
jnoortheen fa497ebb0d fix: solves issue#27189 2016-11-27 22:59:59 +05:30
Prathamesh Sonpatki 312b345b45
Followup of UUID default extension in the docs [ci skip]
- Mentioned clearly that for PostgreSQL < 9.4, you need to pass the
  default option with "uuid_generate_v4()"
- Also updated PostgreSQL Active Record guide with this change.
- https://github.com/rails/rails/pull/25395#r66877078
2016-11-24 17:33:16 +05:30
Kirill Zhuravlov 30433253ed Add link to API documentation
Add a link to http://api.rubyonrails.org/classes/ActionController.html in the beginning of an article.
2016-11-23 03:04:55 +02:00
Matthew Draper b89ddd421f Merge pull request #27143 from sachin21/fix-permission
Fix a wrong permission
2016-11-22 21:51:56 +10:30
Satoshi Ohmori d34f328929 Fix a wrong permission 2016-11-22 19:41:13 +09:00
Jon Moss 4c3afea7df Change html-scanner to rails-html-sanitizer
[ci skip]
2016-11-19 20:31:25 -05:00
Prathamesh Sonpatki 04bb2d0dfa
Remove mention of SafeErb gem [ci skip]
Followup of https://github.com/rails/rails/pull/27086
2016-11-19 17:15:19 +05:30
Tom Prats dd66493d70 Updated Sprockets Documentation 2016-11-17 18:18:14 -05:00
Vipul A M 8d015dff82 Remove mention of deprecated SafeERB gem from security docs for now, prior section already speaks about sanitization as a safety measure. [ci skip] (#27086)
Fixes #27085
2016-11-18 00:11:48 +05:30
yuuji.yaginuma eda23fa62f remove `alias_method_chain` from guide [ci skip]
Follow up to 7c848e6dd4
2016-11-15 08:42:02 +09:00
Conrad Beach b8341b3a2a Fix small typo in Layouts and Rendering guide. [ci skip]
Changed "same way they do" to "same way they are".
2016-11-14 14:07:21 -07:00
Andrew White 0ef5b6c163 Merge pull request #26905 from bogdanvlviv/docs
Add missing `+` around a some literals.
2016-11-13 14:09:30 +00:00
Xavier Noria e86524c0c5 adds support for arbitrary hashes in strong parameters 2016-11-11 23:31:50 +01:00
bogdanvlviv 25eed41c49 Update guides/source/active_record_querying.md
Add info about updating locking column value

Follow #26050 and #26871

[ci skip]
2016-11-10 20:42:23 +02:00
Kasper Timm Hansen bab665f893 [ci skip] Expand context on `:cache_hits`.
Need to explain the key is only there in certain cases.
2016-11-08 18:52:31 +01:00
yui-knk 4582d5766a [ci skip] Add `render_collection.action_view` entry to AS instrumentation 2016-11-08 20:03:22 +09:00
Kasper Timm Hansen e91dd52d56 Merge pull request #26982 from bogdanvlviv/started_guide
Fix 'Getting Started with Rails' [ci skip]
2016-11-07 07:36:03 +01:00
bogdanvlviv 2339466542 Add missing spaces [ci skip] 2016-11-07 01:43:59 +02:00
bogdanvlviv 88aeadb5b3 Fix 'Getting Started with Rails' [ci skip]
`bin/rails generate controller Comments` creates files
  app/assets/javascripts/comments.coffee
  app/assets/stylesheets/comments.scss
  not
  app/assets/javascripts/comment.coffee
  app/assets/stylesheets/comment.scss
2016-11-06 23:02:23 +02:00
Daniel Amireh b49e601e3a Use local variable instead of instance variable [ci skip]
Update render yield docs to use `search` local variable instead of `@q` instance variable
2016-11-05 14:19:28 +01:00
colleenmcguckin 700623936e
fix typo in Rails Test Runner section 2016-10-31 12:18:20 -07:00
Shia e7bb3cd4ae Remove `Rack::Runtime from console log [ci skip] 2016-10-31 17:53:52 +09:00
Benny 32d0d971eb Add missing space in Migrations guide [ci skip] 2016-10-31 11:32:29 +08:00
Jon Moss 1f63d09ad7 Merge pull request #26932 from y-yagi/update_doc_about_assets_digest
update doc about assets digest class [ci skip]
2016-10-29 21:05:57 -04:00
yuuji.yaginuma 8ee7d5e1fc update doc about assets digest class [ci skip]
The default digest class changed to SHA256 in sprockets 3.0.
Ref: https://github.com/sstephenson/sprockets/pull/647
2016-10-30 09:34:27 +09:00
Rafael Mendonça França fe1f4b2ad5
Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
Erol Fornoles f7d54c4247
Add documentation for `config.assets.version` [skip ci] 2016-10-28 18:13:30 +08:00
yuuji.yaginuma 3db6ca9d04 fix initializer name [ci skip]
This changed in c046660
2016-10-27 08:04:24 +09:00
bogdanvlviv 5faa9a235c Add missing `+` around a some literals.
Mainly around `nil`

[ci skip]
2016-10-27 00:27:47 +03:00
James Doyley ae83b01b19 Update HABTM documentation in guides 2016-10-26 09:22:23 +01:00
Rafael França c05a209fe9 Merge pull request #26851 from Gaurav2728/update-kindlerb
update kindlerb gem
2016-10-25 14:19:12 -02:00
Rafael Mendonça França 8b3ed2b68a
Fix HTML escaping in the guides
render :html escapes the argument if not provided as html safe.
2016-10-25 11:19:28 -02:00
Rafael Mendonça França 0b4679f192
Fix indentation 2016-10-25 03:16:51 -02:00
Rafael Mendonça França 1e7f6488f7
Generate HTML not plain text 2016-10-25 03:06:57 -02:00
Rafael Mendonça França d34a2747cb
Fix plain option in the rails_guides generator 2016-10-25 00:08:39 -02:00
Erol Fornoles 094638e544
Fix typo in Upgrading Ruby on Rails Guide [ci skip] 2016-10-24 22:28:40 +08:00
yuuji.yaginuma 0f87413f41 update description of Etag [ci skip]
The document is written with "only generate weak", but it can also be used to
strong etag.
Also, add missing entory for #24387
2016-10-24 20:17:31 +09:00
Carlos Antonio da Silva a0d0648efb Merge release note entry for Date/Time/DateTime extensions
The first release note entry mentioned #on_weekday?, but that was only
added by the second PR mentioned there. To simplify reading the notes
just merge the two, since they are related methods. [ci skip]
2016-10-23 16:51:51 -02:00
Gaurav Sharma f0bacbc2c4 update kindlerb gem
Ruby Kindle periodical-format ebook generator
2016-10-21 09:37:24 +05:30
Yves Senn dba9ce8ec8 guides, include note about modifiers when using the CLI.
[ci skip]

This was pointed out on
https://github.com/rails/rails/issues/15583#issuecomment-239212831

The comment was lost in the changes made by
fcd0ac066e and
3e1373a773
2016-10-20 20:34:46 +02:00
Yves Senn fb2f8d2b75 remove trailing whitespace [ci skip] 2016-10-20 20:32:24 +02:00
Bruno Facca 85dd85fe01 [ci skip] Fix return values of Hash Extensions examples
The hashes returned in some examples of the following sections had items in a different order than their receivers. That may mislead readers into believing those methods will not preserve element order.

Extensions to Hash/Working with Keys/transform_keys and transform_keys!
Extensions to Hash/Working with Keys/stringify_keys and stringify_keys!
Extensions to Hash/Working with Keys/symbolize_keys and symbolize_keys!
Extensions to Hash/Slicing
2016-10-20 15:38:49 -02:00
Alex Kitchens f6cc4f5648 [ci skip] Fix typo in Guides: Contributing 2016-10-17 16:31:01 -05:00
rmarone be6990bf01 Pull request for ticket 26769 (#26770)
* Clarify the default behavior of log_formatter

Updates language to remove reference to production.rb and fix quoting
2016-10-15 09:20:41 -04:00
Godfrey Chan f2f9b88685 Introduce a benchmark template [ci skip]
This replaces boilerplate in the “benchmark your code” section of the
contributors’ guide with an executable template. I also amended the text
to encourage best practices and codified it in the template.

For now this is only good for relatively self-contained changes that can
be inlined into a simple script. In the future, this can be expanded to
cover how to measure the difference between two commits.

The output looks like this:

```
==================================== Empty =====================================

Warming up --------------------------------------
              blank?   225.963k i/100ms
         fast_blank?   238.147k i/100ms
Calculating -------------------------------------
              blank?      8.825M (± 6.4%) i/s -     44.063M in   5.014824s
         fast_blank?      9.311M (± 6.3%) i/s -     46.439M in   5.009153s

Comparison:
         fast_blank?:  9310694.8 i/s
              blank?:  8824801.7 i/s - same-ish: difference falls within error


================================= Single Space =================================

Warming up --------------------------------------
              blank?    56.581k i/100ms
         fast_blank?   232.774k i/100ms
Calculating -------------------------------------
              blank?    813.985k (±16.7%) i/s -      4.017M in   5.076576s
         fast_blank?      9.547M (± 5.2%) i/s -     47.719M in   5.013204s

Comparison:
         fast_blank?:  9547414.0 i/s
              blank?:   813985.0 i/s - 11.73x  slower


================================== Two Spaces ==================================

Warming up --------------------------------------
              blank?    58.265k i/100ms
         fast_blank?   244.056k i/100ms
Calculating -------------------------------------
              blank?    823.343k (±16.2%) i/s -      4.020M in   5.014213s
         fast_blank?      9.484M (± 4.9%) i/s -     47.347M in   5.005339s

Comparison:
         fast_blank?:  9484021.6 i/s
              blank?:   823343.1 i/s - 11.52x  slower


=============================== Mixed Whitspaces ===============================

Warming up --------------------------------------
              blank?    53.919k i/100ms
         fast_blank?   237.103k i/100ms
Calculating -------------------------------------
              blank?    763.435k (±16.8%) i/s -      3.720M in   5.018029s
         fast_blank?      9.672M (± 5.8%) i/s -     48.369M in   5.019356s

Comparison:
         fast_blank?:  9672467.2 i/s
              blank?:   763435.4 i/s - 12.67x  slower


=============================== Very Long String ===============================

Warming up --------------------------------------
              blank?    34.037k i/100ms
         fast_blank?   240.366k i/100ms
Calculating -------------------------------------
              blank?    409.731k (± 8.9%) i/s -      2.042M in   5.028235s
         fast_blank?      9.794M (± 4.3%) i/s -     49.035M in   5.016328s

Comparison:
         fast_blank?:  9794225.2 i/s
              blank?:   409731.4 i/s - 23.90x  slower
```
2016-10-15 12:34:46 +02:00
Javier Cuevas 854a1be5fa Suggested edits 2016-10-13 18:02:52 +02:00
Javier Cuevas 3de12286e6 Improve Action Cable Overview guide
The default adapter in development & test environments is not `redis` but `async`.
2016-10-13 17:49:26 +02:00
Rafael Mendonça França b3d41eae4b
Deprecated ActionDispatch::ParamsParser::ParamsParser
ActionDispatch::ParamsParser class was removed in favor of
ActionDispatch::Http::Parameters so it is better to move the error
constant to the new class.
2016-10-10 01:35:58 -03:00
kenta-s a0f871f95a Change page:change to turbolinks:load in README.md [ci skip] 2016-10-05 19:41:27 +09:00
Esteban Santana Santana ddddedc487 Allow the use of listen's 3.1.x branch.
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.
2016-10-03 16:58:17 +05:30
yuuji.yaginuma f597822f4a add `cached` key to `sql.active_record` event [ci skip]
Follow up to #26584
2016-10-02 13:29:17 +09:00
Jeremy Wilmot 7d0e73bc01 Remove dup distinct from AR query list [ci skip] 2016-09-30 15:12:16 -07:00
Yusuke Nakamura 86c0dccac1 Fix typo in 5_0_release_notes.md doc [ci skip] 2016-09-29 21:56:56 +09:00
Jon Moss 29f883640c Merge pull request #26648 from y-yagi/update_description_of_queue_adapter
update description of queue adapter in test [ci skip]
2016-09-28 17:04:21 -04:00
Michael Lennox ba415c4f8a Removes broken performance testing link from the 2.2 release notes 2016-09-28 14:11:26 +01:00
yuuji.yaginuma 9a918800c0 update description of queue adapter in test [ci skip]
`ActiveJob::TestCase` set `TestAdapter` to queue adapter at `before_setup`.
https://github.com/rails/rails/blob/master/activejob/lib/active_job/test_helper.rb#L12..L21
2016-09-28 18:59:17 +09:00
Jon Moss c427033e7a Add info about a502703 to Rails 5 release notes
[ci skip]
2016-09-25 14:58:41 -04:00
Michael Hoy b8c74e77f2 Fix docs for allowed params to `get` in controller tests [ci skip]
Fixes #26602

Relevant method documentation:

abe3da9f12/actionpack/lib/action_dispatch/testing/integration.rb (L14-L43)
2016-09-23 13:43:02 -05:00
Vijay Dev 67313650eb Merge branch 'master' of github.com:rails/docrails 2016-09-20 16:27:19 +00:00
Andrey Molchanov e1252e073a [ci skip] Fixed commas according to Oxford comma in rdoc and guides 2016-09-17 22:36:13 +03:00
Jon Moss cd6605438d Fix small grammar issue introduced in #26382
[ci skip]
2016-09-16 19:22:07 -04:00
Girish Sonawane 084211a7da bug report template for migrations (#26488)
* added bug report template for migrations
2016-09-15 07:28:12 -04:00
Girish S b4a4860f1e fixed guide to add correct documentation for partial render 'as' option 2016-09-13 12:51:33 +05:30
Kasper Timm Hansen 2b5ed618ed [ci skip] Update Levenshtein code with better attribution.
Lacks some proper creds to the homies who went the... distance ;)
2016-09-12 21:46:44 +02:00
प्रथमेश Sonpatki 087427e0d1 Merge pull request #26431 from wytesk133/master
Fix table name typos [ci skip]
2016-09-08 16:44:14 +05:30
Waitaya Krongapiradee 831f1b67b7 Fix table name typos [ci skip] 2016-09-08 16:41:16 +07:00
yuuji.yaginuma 5d33209335 update doc about default `cache_store` [ci skip]
The default `cache_store` has changed in 8f0e0b6 to use `file_store`.
2016-09-08 07:22:50 +09:00
Prathamesh Sonpatki 2352fcc162
💅 [ci skip] 2016-09-07 07:33:26 +05:30
Vipul A M 06658f1d9d Merge pull request #26390 from Neodelf/format_mds
[ci skip] Simply formatting documents
2016-09-07 00:57:19 +05:30
Neodelf e0e7047233 [ci skip] Simply formatting documents 2016-09-06 22:23:49 +03:00
Vipul A M b4dac34508
Document that redirect* don't halt exucution. We explain more on this behavior in 2.3.2, but dont specify that is not halting. Its better to not let developers be caught by surprise. [ci skip] 2016-09-06 23:45:34 +05:30
Vijay Dev 0fdf522611 Merge pull request #24612 from vipulnsward/fix-li-ol-width
Selectively add `li ul, li ol { margin:0 1.5em; }` to subColl as needed
2016-09-06 22:49:10 +05:30
Ryunosuke Sato b9e98d62c2 Remove the word "mongrel" from documents
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.
2016-09-07 01:59:37 +09:00
Mark Sun 28426f5349 Minor grammar fix in engines.md 2016-09-06 11:00:09 -04:00
Nathan Wenneker 37219bbb5a Update docs for change in transaction callback exceptions
07d3d40 changed how exceptions are handled in after_commit
and after_destroy callbacks.  This commit updates the 5.0
release notes and the  ActiveRecord callback guide to reflect
the new behavior.

[ci skip]
2016-09-03 13:48:07 -06:00
yuuji.yaginuma 29cab68c5f add Active Job bug report templates to guide [ci skip]
Follow up to #26362
2016-09-03 07:12:20 +09:00
Kasper Timm Hansen 55c5dffd9f Merge pull request #26364 from y-yagi/fix_class_name_typo_in_bug_report_templates
fix class name typo in bug report templates for Active Job
2016-09-02 11:31:12 +02:00
Shia 24d00d229e Improve Getting Started [ci skip] 2016-09-02 17:16:45 +09:00
yuuji.yaginuma 9eba3d6976 fix class name typo 2016-09-02 17:16:15 +09:00
Guillermo Iguaran 8697ce4dba Merge pull request #26362 from prathamesh-sonpatki/add-aj-bug-report-templates
Added bug report templates for Active Job
2016-09-02 01:05:15 -05:00
Prathamesh Sonpatki 26a2776f23
Added bug report templates for Active Job 2016-09-02 11:31:04 +05:30
Waitaya Krongapiradee e88a745ca3 Grammar fix [ci skip] 2016-09-02 12:00:16 +07:00
Xavier Noria 810dff7c9f RuboCop is 100% green 🎉 2016-09-02 00:43:33 +02:00
Devinsuit 6e414b87a2 Update Jason Zimdars twitter 2016-08-31 22:09:22 +03:00
Richard Schneeman 4ba40bc2d6 Merge pull request #26226 from schneems/schneems/explicit-public-urls
Make public asset use explicit
2016-08-31 10:28:31 -05:00
Jon Moss b7ec47aa8f Merge pull request #26331 from kjellberg/broken-links
[ci skip] Broken links in documentation fix
2016-08-30 14:10:06 -04:00
Rasmus Kjellberg e49444797e [ci skip] Broken links in documentation fix 2016-08-30 20:02:46 +02:00
Shia 61522dc126 Update typo & Make explanation more clear 2016-08-31 01:12:49 +09:00
schneems e1791d1dd4 Explicitly mention defaults. 2016-08-29 13:16:07 -05:00
schneems 8bcf42c4b3 Address doc style comments from @robin850 2016-08-29 13:16:07 -05:00
schneems 581d9685ea Fix asset_pipeline.md miss-merge 2016-08-29 13:16:07 -05:00
schneems b6b4d6980b Specify version of Sprockets-rails this will be in 2016-08-29 13:16:07 -05:00
schneems 58bd1124cf Move default to different initializer
Is this usage correct? cc/ @prathamesh-sonpatki
2016-08-29 13:16:07 -05:00
schneems e1bd2f59dd [ci skip] configuring.md assets.unknown_asset_fallback 2016-08-29 13:16:07 -05:00
schneems 8126c7c2f7 [ci skip] asset_pipeline.md assets.unknown_asset_fallback 2016-08-29 13:16:07 -05:00
schneems 3105642a5c [ci skip] Upgrading assets.unknown_asset_fallback 2016-08-29 13:16:07 -05:00
Alex Kitchens a84b50374e [ci skip] Update branch version in Contributing Guide
Since only Rails 4 and above are currently supported, this updates a
3-2-stable example to be consistent with the support standard.
2016-08-29 11:00:43 -05:00
Rasmus Kjellberg 7425aaaec3 Added gitignore to "files & purpose" list [ci skip] 2016-08-29 02:53:55 +02:00
Guillermo Iguaran f394f3ba76 Merge pull request #26288 from maclover7/jm-revert-21995
Update `Rails.configuration` documentation
2016-08-26 09:30:34 -05:00
Jon Moss 2f5a40a800 Clarify two ways to set Rails configuration options
[ci skip]
2016-08-26 10:24:38 -04:00
Jon Moss 01dca5b4b3 Add back in `config_for` example
[ci skip]
2016-08-26 10:20:18 -04:00
Jon Moss 5fb513f26a Revert "Merge pull request #21995 from tak1n/master"
This reverts commit 4973704bf5, reversing
changes made to 78edeb3334.
2016-08-26 10:15:01 -04:00
Santosh Wadghule ba84258819 Move `assert_nothing_raised` method to Rails Specific Assertions
section [ci skip]

- Method `assert_nothing_raised` is Rails' own custom assertion method and
not a part of Minitest. So move it from Minitest assertions section to Rails
Specific Assertions section.
2016-08-26 19:05:24 +05:30
Shia 53a8663bb5 Rename the title of comand_line.md in index
Remove 'rake tasks' from index
2016-08-24 11:27:00 +09:00
Shia e473b8251c update `is renamed` to `tasks are renamed` 2016-08-23 22:03:44 +09:00
Shia a2aed31564 Remove Duplicated information & fix typo...
- Remove Duplicated explanation.
- Fix some typo.
- Attach PR, commit link that missed one.
2016-08-23 21:49:35 +09:00
Rafael França 3bfd352452 Merge pull request #26249 from rafamanzo/add_redis_to_development_dependencies
Update docs with Action Cable Redis dependency
2016-08-22 16:51:38 -03:00
Rafael Mendonça França df84e98672
Remove the SchemaDumper options and change the default behavior
Now the schema dumper by default doesn't align the types and arguments
in the ruby format anymore.
2016-08-22 15:46:04 -03:00
Rafael Reggiani Manzo 65b5960759 [ci skip] Update docs with Action Cable Redis dependency
Action Cable's test `test/subscription_adapter/redis_test.rb` fail if
Redis is not installed and running.

Following the guides `development_dependen there's no mention to this.
2016-08-22 14:44:46 -03:00
Will Jordan 8c1fdf679e Remove `:action` and `:controller` segments from routing guide
Fixes #26247.
[ci skip]
2016-08-22 17:19:28 +00:00
Eileen M. Uchitelle 9caca55f71 Merge pull request #25750 from go2null/go2null-test-directories
Specified directories for routes, views and jobs tests
2016-08-22 13:13:20 -04:00
go2null 90fbae6acc Clearly state purpose of test directories
* Added location for route, view and job tests to section 2.1.  (They are currently only defined in sections 8 Testing Views and 11 Testing Jobs.)
* Added location for route test in section 7 Testing Routes.  (Currently only defined in section 8 Testing Views.)
2016-08-22 11:27:22 -04:00
Danila Ermakov 3b7642a328 Change form of table name to plural in query example 2016-08-22 15:24:19 +03:00
Jon Moss 409dbc891d Merge pull request #26241 from scottyantipa/query-interface-docs
Upate guides to properly define return values of finder methods
2016-08-21 22:01:28 -04:00
Kasper Timm Hansen 0432652f23 Merge pull request #26234 from y-yagi/remove_unnessary_session_store_setting
remove  unnessary `session_store` setting
2016-08-21 21:04:19 +02:00
Scott Antipa f3626c38fc Update docs for query interface to not declare that all methods return instance of ActiveRecord::Relation 2016-08-21 11:17:37 -07:00
Vijay Dev 3e2be0bf14 Merge branch 'master' of github.com:rails/docrails 2016-08-21 10:48:53 +00:00
Vijay Dev fae7c46285 Merge pull request #26227 from alexcameron89/syntax_highlighter_fix
Increase margin-bottom for doc's code syntax highlighter
2016-08-20 23:01:43 +05:30
Alex Kitchens 5624d1158e Increase margin-bottom for doc's code syntax highlighter
Fixes #25744 by slightly increasing the margin in code syntax
highlights. With a margin of 0, it was cutting off underscores in Linux
browesers, so I slightly increased it to 0.5px.
2016-08-20 11:56:03 -05:00
yuuji.yaginuma 3173244d4b remove unnessary `session_store` setting
Since e5a6f7ee9e, by default the session store
will be set to cookie store with application name as session key.
2016-08-20 20:24:17 +09:00
Eileen M. Uchitelle 01a8e0c24e Merge pull request #26224 from jonatack/consistent-asset-precompile-examples
Consistent examples and template for assets#precompile
2016-08-19 16:52:16 -04:00
Jon Atack b4c92be471 Consistent examples and template for assets#precompile
Listening to a few developers today discussing their troubles in understanding how to use the asset pipeline, it turns out that the precompile examples in the guides and assets.rb template have over time become a bit inconsistent.

This PR makes the examples consistent in code style, spacing, and asset names, removes the old 'swfObject.js' example, and in a couple of places wraps lines at 80 characters including in the assets.rb template.

Re-add spaces inside array parentheses.
2016-08-19 22:24:54 +02:00
Vipul A M 18e599940a
When referring to Rails, be consistent in usage of capitalized form, unless it is used in context of a command like bin/rails or the rails directory [ci skip] 2016-08-19 14:17:07 +05:30
Vipul A M 5b5437caeb
Grammar changes on getting started guide, specify where exactly the example is that we are referring to. [ci skip] 2016-08-19 14:14:32 +05:30
Rafael Mendonça França e87158f16b
Merge pull request #25675 from TimPetricola/schema-no-standardized-column-widths
Option not to line up column attributes in schema.rb
2016-08-19 01:28:39 -03:00
Phil Nash a0c4bcf651 [ci skip] Updates ActiveJob guide on default runner.
The immediate runner is no longer default, the async adapter is.
2016-08-18 23:00:07 +01:00
Tim Petricola 84cc8fd5d8 Merge branch 'master' into schema-no-standardized-column-widths 2016-08-18 15:02:39 +02:00
Ian C. Anderson fbaa5e390f i18n documentation for required belongs_to message
When you don't explicitly provide `optional: true` to a `belongs_to`
definition, rails adds a validation to ensure presence of the
`belongs_to` validation.

However, when the validation is added, it is added with a message key of
`:required`, which was not documented in the "Translations for Active
Record Models" section of the i18n guides.

Here are the lines that add the `:required` message:
c3e3577f9d/activerecord/lib/active_record/associations/builder/belongs_to.rb (L136-L138)

This commit adds the "non-optional association" validation to the table,
so rails users know how to override the message for this validation. The
default message is "must exist".
2016-08-17 18:19:59 -04:00
Jonathan ce17ac2773 Fix #26187
As "discussed" in #26187 I added the route that magically disappeared again.
2016-08-17 15:28:54 +02:00
Jonathan 9233f52bd9 Fix diffrent naming in getting_started.md
I've noticed that once `<h1>Editing article</h1>` L1157 was the title and then later on it's `<h1>Edit article</h1>` L1358 which kind of makes more sense...

[ci skip]
2016-08-17 12:49:56 +02:00
Tim Petricola dde3bdf214 Option not to line up column types and attributes in schema.rb 2016-08-17 10:09:34 +02:00
Yohei YASUKAWA d4aec26030
Fix link in Rails 5.0 Release Note [ci skip] 2016-08-17 12:43:52 +09:00
Rafael França 82ec6b3606 Merge pull request #26061 from malclocke/specify_ar_message_interpolation_names_in_i18n_guide
List names of error interpolation variables.
2016-08-16 07:03:16 -03:00
Rafael França 05a35b5b63 Merge pull request #26175 from stomar/upgrade-guide-fix
Clarify migration to ApplicationRecord in upgrade guides [ci skip]
2016-08-16 06:56:22 -03:00
Rafael Mendonça França 55f9b8129a
Add three new rubocop rules
Style/SpaceBeforeBlockBraces
Style/SpaceInsideBlockBraces
Style/SpaceInsideHashLiteralBraces

Fix all violations in the repository.
2016-08-16 04:30:11 -03:00
Marcus Stollsteimer b3ad505cac Clarify use of update task on 4.2 and earlier [ci skip] 2016-08-15 21:53:27 +02:00
Marcus Stollsteimer 9f8de63783 Clarify migration to ApplicationRecord in upgrade guides [ci skip] 2016-08-15 21:15:56 +02:00
chuckdishmon 9826b24242 fix usage of pluralized word 2016-08-14 21:36:46 -04:00
Eugene Kenny 115e31440c Update increment! documentation [ci skip]
The `increment!` and `decrement!` methods were recently reimplemented to
make them safe to call from multiple connections concurrently. This
changed their behaviour in a few ways.

Previously they used `update_attribute`, which calls the attribute
setter method, runs callbacks, and touches the record. Now they behave
more like `update_column`, writing the update to the database directly
and bypassing all of those steps.
2016-08-15 01:14:08 +01:00
Xavier Noria 5c2c6966a0 Revert "Clarify and fix typos in Autoloading Disabled upgrade guide [ci skip]"
Reason: See https://github.com/rails/rails/pull/26163#issuecomment-239703322

This reverts commit 39effc857e.
2016-08-15 01:03:54 +02:00
Jon Moss 916d9d70a0 Merge pull request #26163 from olivierlacan/clarify-autoloading-disabled
Clarify and fix typos in autoloading disabled section
2016-08-14 14:56:09 -04:00
Olivier Lacan 39effc857e Clarify and fix typos in Autoloading Disabled upgrade guide [ci skip]
The Guides section about autoloading being disabled was slightly confusing
(#24724) and didn't directly reference the removed feature by name
(config.autoload_paths) making it much harder for someone to search the upgrade
guides for a mention or serendipitously find it via a Google search when running
into autoloading issues.

I also fixed some confusing turns of phrase and a missing word.

/cc @vipulnsward @jvanbaarsen
2016-08-14 14:08:16 -04:00
Prathamesh Sonpatki c6a4561901
Fix the documentation for configuring `enable_fragment_cache_logging` [ci skip]
- It is Action Controller config, not Action View.
2016-08-14 18:15:46 +08:00
Prathamesh Sonpatki 484b3ca402
Fix remaining broadcasting_name example from Action Cable guide [ci skip]
- Followup of https://github.com/rails/rails/pull/26125.
2016-08-12 12:19:34 +08:00
Eric Zhang 3f9d380963 [ci skip] Fix documentation wrong for ActionCable 2016-08-12 00:29:20 +08:00
Eric Zhang dfd7c2f058 [ci skip] Fix documentation for ActionCable::Channel#broadcast_to 2016-08-12 00:27:39 +08:00
Guillermo Iguaran 5cb6b887d4 Merge pull request #26110 from aditya-kapoor/minor-doc-fix
Minor doc fix related to ActiveModel::SecurePassword [ci skip]
2016-08-10 20:44:30 -05:00
Aditya Kapoor d61aec316a Minor doc fix related to ActiveModel::SecurePassword [ci skip] 2016-08-11 01:55:45 +05:30
Santosh Wadghule 80f777e1c0 Add documentation for `http_cache_forever`. [ci skip] 2016-08-10 20:27:29 +05:30
Ryuta Kamizono f006de5dc5 Fix broken alignments caused by auto-correct commit 411ccbd
Hash syntax auto-correcting breaks alignments. 411ccbdab2
2016-08-10 06:36:39 +09:00
Vipul A M 67d0c9ee93 Merge pull request #24476 from vipulnsward/24314-eagerloading-doc-update
Document know limitation about using `references` in conjunction with custom select clauses [ci skip]
2016-08-09 14:19:48 +05:30
Vipul A M 0ee88bf1e7
Document know limitation about using `references` in conjunction with eager loading causing it to ignore custom select clauses.
[ci skip]

Fixes #24314
2016-08-09 14:14:53 +05:30
Vipul A M c5fb8b18fe Merge pull request #26042 from bogdanvlviv/debugging_guide
Add link to 'Pry' in debugging guide [ci skip]
2016-08-09 13:52:47 +05:30
yuuji.yaginuma 73f33266d8 update list of rescue_responses default [ci skip]
Follow up to fe859a5421
2016-08-09 08:15:18 +09:00
bogdanvlviv a170304174 Add link to 'Pry' in debugging guide [ci skip] 2016-08-07 21:47:27 +03:00
Stan Lo ab2af4dfcb Modify LogSubscriber for single partial's cache message.
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
2016-08-08 00:24:39 +08:00
Xavier Noria b326e82dc0 applies remaining conventions across the project 2016-08-06 20:20:22 +02:00
Xavier Noria 80e66cc4d9 normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
Xavier Noria 411ccbdab2 remove redundant curlies from hash arguments 2016-08-06 19:44:11 +02:00
Xavier Noria 1607ee299d modernizes hash syntax in guides 2016-08-06 19:39:28 +02:00
Xavier Noria 6b3719b757 applies new string literal convention in guides
The current code base is not uniform. After some discussion,
we have chosen to go with double quotes by default.
2016-08-06 19:21:59 +02:00
Eileen M. Uchitelle 78a877408b Merge pull request #26023 from tekin/correct-acceptance-guidelines
Correct usage for acceptance validator in guide
2016-08-06 10:19:33 -04:00
claudiob 2ea3342c56 [ci skip] Fix broken URL in guides 2016-08-05 17:00:37 -07:00
Andrew White 70f2f98150 Add note about limitations of Windows Subsystem for Linux
Due to the limited support for inotify (Microsoft/BashOnWindows#216) in
WSL the best thing to do at moment is add a note about skipping spring
and listen when generating your application in the Getting Started guide.

[skip ci]

Fixes #26054.
2016-08-05 19:23:39 +01:00
Malcolm Locke 97b5341d6a List names of error interpolation variables. 2016-08-05 11:39:47 +12:00
Rafael Mendonça França fdc52ddb76
Add 4.2.Z back to the maintenance list
Some Rails core members agreed to continue to maintain 4.2 until 5.1 is
released.

[ci skip]
2016-08-02 17:07:01 -03:00
Vijay Dev 4d288f0b43 Merge branch 'master' of github.com:rails/docrails 2016-08-02 17:38:56 +00:00
Tekin Suleyman b605a6ac9e Correct usage for acceptance validator in guide 2016-08-02 11:24:09 +01:00
yuuji.yaginuma 987df0fea0 remove old links from debugging guide [ci skip] 2016-08-01 16:38:55 +09:00
Rafael França 4211a29902 Merge pull request #25948 from chetna1726/docs
[ci skip] Add documentation for error using select with order
2016-07-28 01:16:41 -03:00
Bonghyun Kim 8243434d9c Updated getting_started guide to reflect the change in error message for ActionController::UnknownFromat in ArticlesController#new
Restored texts about XML and JS template handlers. [ci skip]
2016-07-28 02:30:49 +09:00
Chetna Sharma a9dabd6939 [ci skip] Add documentation for error using select with order 2016-07-25 18:40:31 +05:30
प्रथमेश Sonpatki 56527bb737 Merge pull request #25928 from mechanicles/info-for-cache-fetch-block
Add proper description for `Rails.cache.fetch` [ci skip]
2016-07-24 10:13:41 +05:30
Santosh Wadghule d4f1b8090a Proper description for `Rails.cache.fetch` [ci skip] 2016-07-24 09:37:44 +05:30
Kasper Timm Hansen 1ca571cc47 Merge pull request #25908 from mechanicles/derives-from
Explain meaning of the code very well and Remove confusion. [ci skip]
2016-07-23 07:48:17 +02:00
Santosh Wadghule 8ad6260538 Explain meaning of the code very well and Remove confusion. [ci skip]
Code like `render(topics) => render("topics/topic")` adds confusion
for the readers. On first impression, that code feels like hash kind
of data, but it's not. So make it more clear and meaningful.
2016-07-23 09:56:35 +05:30
Xavier Noria 575dbeeefc define Range#match? if Ruby < 2.4
See the rationale in the documentation included in this patch.

We are going to gradually introduce this predicate in the code base.
2016-07-22 00:15:52 +02:00
Iain Beeston a11abf19ee Removed reference to callback_terminator.rb in docs
That file has been removed and replaced with new_framework_defaults.rb
2016-07-21 13:00:17 +01:00
Rafael Mendonça França a8a3a8cc69
Merge pull request #25438 from prathamesh-sonpatki/rm-session-store-initializer
Setup default session store internally, no longer through an initializer
2016-07-20 02:32:37 -03:00
Matthew Draper d8bc0964d2 Merge pull request #25780 from Ropeney/patch-1
Update ActionCable Rebroadcasting a Message documentation
2016-07-19 16:47:08 +09:30
Prathamesh Sonpatki a3c27be98b
Fix documentation of `error_on_ignored_order` option
- Followup of 451437c6f5
2016-07-18 09:30:16 +05:30
Prathamesh Sonpatki e5a6f7ee9e
Setup default session store internally, no longer through an application 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.
2016-07-17 19:45:51 +05:30
Josh Justice 65132b9087 Update references generation docs to exclude index
In #23179 the migration generator was changed to no longer output `index: true` for `references` migrations. This updates the migrations guide to remove `index: true` from relevant examples.

[ci skip]
2016-07-16 05:23:17 -04:00
yuuji.yaginuma 777ae60ddf add missing braces [ci skip]
Also modify to use Ruby 1.9+ syntax.
2016-07-16 10:56:28 +09:00
Kazuhiro NISHIYAMA bd6d2ec604 Fix broken link 2016-07-15 21:31:33 +09:00
rbr 2f6832e2a2 Fix display of unsorted list in release notes of 5.0 [ci skip] 2016-07-14 16:56:13 +02:00
Xavier Noria df6684458b fixes a link in the release notes of 5.0 [ci skip] 2016-07-14 12:17:21 +02:00
Xavier Noria 07d3b588df finders guide: updates the section about batch processing [ci skip]
There are several edits here, but in particular it updates the
guide to reflect 451437c.
2016-07-14 09:40:31 +02:00
Vipul A M e1915e712d Merge pull request #25748 from CodingItWrong/generator-field-types-link
Correct link for model generator field types
2016-07-13 01:18:12 -07:00
Josh Justice 5ae7fc5e40 Correct link for model generator field types
The most complete list of field types appears in the `SchemaStatements` docs rather than the `TableDefinition` docs.

The change to link to `SchemaStatements` means that the explanation for the `index` parameter is no longer available on the linked-to page. A brief explanation of the `index` parameter is added directly in the guide to make up for this.
2016-07-13 04:15:04 -04:00
kei-s fe5c9fb76e [ci skip] Update redirecting links in guides 2016-07-12 20:12:24 +09:00
Santosh Wadghule d8575289a2 rails -> Rails [ci skip] 2016-07-12 12:21:36 +05:30
Joseph Mullins 931781b74f Update ActionCable Rebroadcasting a Message documentation
Replace broadcast_to with ActionCable.server.broadcast to be inline with its partner, #stream_from
2016-07-12 01:24:15 +09:30
Prathamesh Sonpatki bf06cdf773
The `to_query` method on Array objects uses `key[] as the prefix, not `_key_[]` [ci skip] 2016-07-10 21:46:20 +05:30
Prathamesh Sonpatki 3bc34f596b
Add `config.assets.quiet` to configuration guide [ci skip] 2016-07-10 21:17:10 +05:30
Prathamesh Sonpatki 816e15d626
Add note about `config.annotations.register_directories` option in the guides [ci skip]
- Followup of #25692.
2016-07-10 20:42:50 +05:30
Vijay Dev b76808602d Merge branch 'master' of github.com:rails/docrails 2016-07-10 10:58:39 +00:00