aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | Document know limitation about using `references` in conjunction with eager ↵Vipul A M2016-08-091-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | loading causing it to ignore custom select clauses. [ci skip] Fixes #24314
* | | | | | Merge pull request #26042 from bogdanvlviv/debugging_guideVipul A M2016-08-091-0/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Add link to 'Pry' in debugging guide [ci skip]
| * | | | | Add link to 'Pry' in debugging guide [ci skip]bogdanvlviv2016-08-071-0/+1
| | | | | |
* | | | | | 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
* | | | | applies remaining conventions across the projectXavier Noria2016-08-063-10/+8
| | | | |
* | | | | normalizes indentation and whitespace across the projectXavier Noria2016-08-065-179/+179
| | | | |
* | | | | remove redundant curlies from hash argumentsXavier Noria2016-08-061-4/+2
| | | | |
* | | | | modernizes hash syntax in guidesXavier Noria2016-08-065-11/+11
| | | | |
* | | | | applies new string literal convention in guidesXavier Noria2016-08-0615-160/+160
| | | | | | | | | | | | | | | | | | | | | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* | | | | Merge pull request #26023 from tekin/correct-acceptance-guidelinesEileen M. Uchitelle2016-08-061-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Correct usage for acceptance validator in guide
| * | | | | Correct usage for acceptance validator in guideTekin Suleyman2016-08-021-1/+1
| | | | | |
* | | | | | [ci skip] Fix broken URL in guidesclaudiob2016-08-052-2/+2
| | | | | |
* | | | | | Add note about limitations of Windows Subsystem for LinuxAndrew White2016-08-051-0/+4
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Add 4.2.Z back to the maintenance listRafael Mendonça França2016-08-021-1/+1
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | Some Rails core members agreed to continue to maintain 4.2 until 5.1 is released. [ci skip]
* | | | Merge branch 'master' of github.com:rails/docrailsVijay Dev2016-08-023-3/+11
|\ \ \ \ | |/ / / |/| | |
| * | | 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
| * | | The `to_query` method on Array objects uses `key[] as the prefix, not ↵Prathamesh Sonpatki2016-07-101-1/+1
| | | | | | | | | | | | | | | | `_key_[]` [ci skip]
| * | | Add `config.assets.quiet` to configuration guide [ci skip]Prathamesh Sonpatki2016-07-101-0/+2
| | | |
| * | | Add note about `config.annotations.register_directories` option in the ↵Prathamesh Sonpatki2016-07-101-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | guides [ci skip] - Followup of #25692.
* | | | remove old links from debugging guide [ci skip]yuuji.yaginuma2016-08-011-7/+0
| | | |
* | | | Merge pull request #25948 from chetna1726/docsRafael França2016-07-281-0/+1
|\ \ \ \ | | | | | | | | | | [ci skip] Add documentation for error using select with order
| * | | | [ci skip] Add documentation for error using select with orderChetna Sharma2016-07-251-0/+1
| | | | |
* | | | | Updated getting_started guide to reflect the change in error message for ↵Bonghyun Kim2016-07-281-19/+14
|/ / / / | | | | | | | | | | | | | | | | | | | | ActionController::UnknownFromat in ArticlesController#new Restored texts about XML and JS template handlers. [ci skip]
* | | | Merge pull request #25928 from mechanicles/info-for-cache-fetch-blockप्रथमेश Sonpatki2016-07-241-1/+1
|\ \ \ \ | | | | | | | | | | Add proper description for `Rails.cache.fetch` [ci skip]
| * | | | Proper description for `Rails.cache.fetch` [ci skip]Santosh Wadghule2016-07-241-1/+1
| | | | |
* | | | | Merge pull request #25908 from mechanicles/derives-fromKasper Timm Hansen2016-07-231-4/+4
|\ \ \ \ \ | | | | | | | | | | | | Explain meaning of the code very well and Remove confusion. [ci skip]
| * | | | | Explain meaning of the code very well and Remove confusion. [ci skip]Santosh Wadghule2016-07-231-4/+4
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* / / / / define Range#match? if Ruby < 2.4Xavier Noria2016-07-221-0/+18
|/ / / / | | | | | | | | | | | | | | | | | | | | See the rationale in the documentation included in this patch. We are going to gradually introduce this predicate in the code base.
* | | | Merge pull request #25438 from prathamesh-sonpatki/rm-session-store-initializerRafael Mendonça França2016-07-202-3/+3
|\ \ \ \ | | | | | | | | | | | | | | | Setup default session store internally, no longer through an initializer
| * | | | Setup default session store internally, no longer through an application ↵Prathamesh Sonpatki2016-07-172-3/+3
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #25780 from Ropeney/patch-1Matthew Draper2016-07-191-1/+1
|\ \ \ \ | | | | | | | | | | Update ActionCable Rebroadcasting a Message documentation
| * | | | Update ActionCable Rebroadcasting a Message documentationJoseph Mullins2016-07-121-1/+1
| |/ / / | | | | | | | | | | | | Replace broadcast_to with ActionCable.server.broadcast to be inline with its partner, #stream_from
* | | | Fix documentation of `error_on_ignored_order` optionPrathamesh Sonpatki2016-07-181-4/+4
| | | | | | | | | | | | | | | | - Followup of https://github.com/rails/rails/commit/451437c6f57e66cc7586ec966e530493927098c7
* | | | Update references generation docs to exclude indexJosh Justice2016-07-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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]
* | | | add missing braces [ci skip]yuuji.yaginuma2016-07-161-2/+2
| | | | | | | | | | | | | | | | Also modify to use Ruby 1.9+ syntax.
* | | | Fix broken linkKazuhiro NISHIYAMA2016-07-151-1/+1
| | | |
* | | | Fix display of unsorted list in release notes of 5.0 [ci skip]rbr2016-07-141-3/+3
| | | |
* | | | fixes a link in the release notes of 5.0 [ci skip]Xavier Noria2016-07-141-1/+1
| | | |
* | | | finders guide: updates the section about batch processing [ci skip]Xavier Noria2016-07-141-15/+38
| | | | | | | | | | | | | | | | | | | | There are several edits here, but in particular it updates the guide to reflect 451437c.
* | | | Merge pull request #25748 from CodingItWrong/generator-field-types-linkVipul A M2016-07-131-1/+1
|\ \ \ \ | | | | | | | | | | Correct link for model generator field types
| * | | | Correct link for model generator field typesJosh Justice2016-07-131-1/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | 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.
* | | | [ci skip] Update redirecting links in guideskei-s2016-07-124-7/+7
| | | |
* | | | rails -> Rails [ci skip]Santosh Wadghule2016-07-122-2/+2
| |/ / |/| |
* | | Merge branch 'master' of github.com:rails/docrailsVijay Dev2016-07-103-3/+18
|\ \ \ | |/ / |/| |
| * | Fix documentation for number_with_precision helper in AV guide [ci skip]Prathamesh Sonpatki2016-07-061-1/+1
| | | | | | | | | | | | - It accepts `precision` option, not `number_with_precision`.
| * | Expand on Instance variables section with an example and specify when the ↵Vipul A M2016-07-021-1/+14
| | | | | | | | | | | | instance variables are set.[ci skip]
| * | Fix number_with_precision documentation for precision [ci skip]Vipul A M2016-07-021-1/+1
| | |
| * | Expand on #24071 for specifying custom locale fallbacks. [ci skip]Vipul A M2016-06-291-1/+3
| | |
* | | Fix typo: caches_pages to caches_page.chen78974992016-07-071-1/+1
| | | | | | | | | Fix a small typo on doc: "caches_pages" -> "caches_page".