| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| | |
Removed documentation of deprecated removed methods
|
| | |
|
|/ |
|
|\
| |
| | |
Consistent anchor text in nav links, new image [ci skip]
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Change all of anchor text in the nav links to `Back` and `Edit`
Use `Edit | Back` on pages that use both links to conform to what
scaffolding generates.
Use consistent anchor text throughout the guide.
Change all of anchor text in the nav links to `Back` and `Edit`
Use `Edit | Back` on pages that use both links to conform to what
scaffolding generates.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Reference #18533
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Before: http://take.ms/z39h2
After: http://take.ms/Mo0G3
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Closes https://github.com/rails/rails/issues/18372
[ci skip]
|
| | |
| | |
| | | |
rails/rails#18305, thanks for @dhh suggestion
|
| | |
| | |
| | | |
rails/rails#18305, thanks for @dhh suggestion
|
| | |
| | |
| | |
| | | |
rails/rails#18305
|
| | |
| | |
| | |
| | | |
rails/rails#18305
|
| | |
| | |
| | |
| | | |
rails/rails#18305
|
| | |
| | |
| | |
| | | |
- Followup of https://github.com/rails/rails/pull/18503.
|
|\ \ \
| | | |
| | | | |
Changed `IN` to `ON` in markdown renderer condition
|
| | | |
| | | |
| | | |
| | | | |
- Changed `IN` to `ON` in all note sentences in guides.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The HTML generated using
url: { action: :create}
will not generate the form action "/articles/create", it should generate
the form action "/articles" for a new object.
|
|\ \ \ \
| | | | |
| | | | | |
Guides: Removing reference to blog that is not updated anymore [ci skip]
|
| | | | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Added the SQL equivalent of the find_by method. [ci skip]
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Added the SQL equivalent of the find_by method
Update active_record_querying.md
Update active_record_querying.md
|
|\ \ \ \
| | | | |
| | | | | |
Update asset pipeline guide
|
| |/ / / |
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Change 'a' to 'an' for 'XML' word [ci skip]
|
| | | | |
|
|/ / / |
|
|/ /
| |
| |
| |
| |
| | |
This section was accidentally removed in 4b5e424441149cf0f61a8182f4a92999577ce59a, and partially re-added in dc14b893e5904acb37ac327478f3880f33094b7a.
[ci skip]
|
| | |
|
| | |
|
| |
| |
| |
| | |
Adequate Record [skip ci]
|
| |
| |
| |
| |
| | |
bebugger doesn't work with Ruby 2.2 so we don't need to support it
anymore
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Introduce explicit way of halting callback chains by throwing :abort. Deprecate current implicit behavior of halting callback chains by returning `false` in apps ported to Rails 5.0. Completely remove that behavior in brand new Rails 5.0 apps.
Conflicts:
railties/CHANGELOG.md
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| | |
Commit 1aea470 introduced this directory but this was at a time when the
default way to store sessions was on the file system under the tmp
directory.
Let's remove references to it from the documentation as well.
[Robin Dupret & yui-knk]
|
|\ \ |
|
| | | |
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Commit 65a2977 added a `pre-wrap` style for white spaces on `.note`
paragraphs. However, this is first inconsistent as other notes like
warnings don't have this style applied. Furthermore, it seems to be
unneeded for mobile devices.
Also revert changes made in #18147 since they aren't needed anymore.
Cross-refs #18138.
[ci skip]
|
| |
| |
| |
| |
| | |
`MissingSourceFile` was just an alias to `LoadError` and was not
being raised inside the framework.
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Make possible to use blocks with short version of render partial
Conflicts:
actionview/CHANGELOG.md
|
| | | |
|