| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| | | | |
| | | | | |
Correct usage for acceptance validator in guide
|
| | | | | |
|
| | | | | |
|
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | | |
Some Rails core members agreed to continue to maintain 4.2 until 5.1 is
released.
[ci skip]
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | | |
That file has been removed and replaced with new_framework_defaults.rb
|
| | |
| | |
| | |
| | | |
`_key_[]` [ci skip]
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
guides [ci skip]
- Followup of #25692.
|
| | | |
|
|\ \ \
| | | |
| | | | |
[ci skip] Add documentation for error using select with order
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
ActionController::UnknownFromat in ArticlesController#new
Restored texts about XML and JS template handlers. [ci skip]
|
|\ \ \
| | | |
| | | | |
Add proper description for `Rails.cache.fetch` [ci skip]
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
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.
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
See the rationale in the documentation included in this patch.
We are going to gradually introduce this predicate in the code base.
|
|\ \ \
| | | |
| | | |
| | | | |
Setup default session store internally, no longer through an initializer
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| | | |
| | | | |
Update ActionCable Rebroadcasting a Message documentation
|
| |/ /
| | |
| | |
| | | |
Replace broadcast_to with ActionCable.server.broadcast to be inline with its partner, #stream_from
|
| | |
| | |
| | |
| | | |
- Followup of https://github.com/rails/rails/commit/451437c6f57e66cc7586ec966e530493927098c7
|
| | |
| | |
| | |
| | |
| | |
| | | |
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]
|
| | |
| | |
| | |
| | | |
Also modify to use Ruby 1.9+ syntax.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
There are several edits here, but in particular it updates the
guide to reflect 451437c.
|
|\ \ \
| | | |
| | | | |
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.
|
| | | |
|
| |/
|/| |
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
- It accepts `precision` option, not `number_with_precision`.
|
| |
| |
| |
| | |
instance variables are set.[ci skip]
|
| | |
|
| | |
|
| |
| |
| | |
Fix a small typo on doc: "caches_pages" -> "caches_page".
|
| | |
|
| |
| |
| |
| |
| |
| | |
Following commit removed reference to rails 4, but there is one left.
https://github.com/rails/rails/commit/a9f50f87c38659d0e9425f86f613cf5328d55d27
|
| |
| |
| |
| | |
Follow up to #24436
|
| |
| |
| |
| |
| |
| |
| |
| | |
Guide generation is configured to detect a guide header by a 40-or-more-hyphen long line. The Action Cable guide was missing this line, so the page title on the guides site was only showing "Ruby on Rails Guides", and the section title in the Kindle index was "Ruby on Rails Guides". Adding the header demarcation line back in fixes both of these.
Fixes #25697
[ci skip]
|
|\ \
| | |
| | | |
Update Syntax Highlighter to version 4 [ci skip]
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Build Syntax Highlighter based on https://github.com/syntaxhighlighter/syntaxhighlighter/wiki/Building and use theme generated by fxn.
- This also bundles these brushes in the file itself- ruby,css,xml,sql,javascript,plain. Generation command used:
gulp build --compat --brushes=javascript,ruby,xml,sql,plain --theme=/Path/To/RailsSource/rails/guides/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css
- rm all old js and css files
- Moved over how JS configuration is created for Syntax Highlighter
- Fixed layout for all imports
- Fixes bug with old copy paste, generating wrong space character on webkit https://github.com/syntaxhighlighter/syntaxhighlighter/blob/7caa9632e7fe470d944fc06b4db7d35352ebaa36/src/dom.js#L227
Fixes #25655
|
|/ / |
|
| |
| |
| |
| | |
ref #18961, #23099.
|
| | |
|