| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
[ci skip] Move a introduction of `Module.nesting`
|
| |
| |
| |
| |
| | |
Move a introduction of `Module.nesting` to the beginning of sentence.
This change will help reader to try to dump `nesting`.
|
| | |
|
|/ |
|
|\
| |
| | |
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
|
|\ \
| | |
| | | |
Add missing information regarding callbacks
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
- Right now master is 5.0.0. Latest gem release is 4.2.0 for which we
are accepting bug reports. So lets use it in bug report templates.
- 5.0.0 is not installable as it's not available on Rubygems yet. So the
gem bug templates are not usable without editing the version. Using
4.2.0 will make them usable again.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
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]
|
|\ \ |
|
| | | |
|