| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
commit 4a3d295f3011e771cddead80de7497ca15d15c13
Author: Yauheni Dakuka <yauheni.dakuka@gmail.com>
Date: Fri Jul 28 14:31:35 2017 +0300
Update routing.md
commit 620a4ce47288e3ef6504290c78f931214968e7e3
Author: Yauheni Dakuka <yauheni.dakuka@gmail.com>
Date: Fri Jul 28 14:19:29 2017 +0300
[ci skip] update routing guide
|
| |
|
|
|
|
| |
Pointing at Rails master generally requires pointing at Arel master
|
|
|
|
| |
callbacks
|
|\
| |
| | |
Updates Rails upgrade guide on `ActionView::Helpers::RecordTagHelper`
|
| |
| |
| |
| | |
`ActionView::Helpers::RecordTagHelper`
|
|\ \
| | |
| | | |
Fixing "Adding Member Routes" documentation
|
| | |
| | |
| | | |
Previously said the helpers were preview_photo_url and preview_photo_path, i.e. action_resource, when in fact they are resource_action. i.e. photo_preview_path. Fixed.
|
|\ \ \
| | | |
| | | | |
Add documentation for class_attribute default option
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Set `represent_boolean_as_integer` via `configuration`
|
| | | | | |
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
Fix boolean column migration script
|
| | |_|/
| |/| | |
|
| | | |
| | | |
| | | |
| | | | |
basis that if it was simple, the user wouldn't be reading the docs
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Change sqlite3 boolean serialization to use 1 and 0
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Abstract boolean serialization has been using 't' and 'f', with MySQL
overriding that to use 1 and 0.
This has the advantage that SQLite natively recognizes 1 and 0 as true
and false, but does not natively recognize 't' and 'f'.
This change in serialization requires a migration of stored boolean data
for SQLite databases, so it's implemented behind a configuration flag
whose default false value is deprecated. The flag itself can be
deprecated in a future version of Rails. While loaded models will give
the correct result for boolean columns without migrating old data,
where() clauses will interact incorrectly with old data.
While working in this area, also change the abstract adapter to use
`"TRUE"` and `"FALSE"` as quoted values and `true` and `false` for
unquoted. These are supported by PostreSQL, and MySQL remains
overriden.
|
|/ / |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Rather than protecting from forgery in the generated
ApplicationController, add it to ActionController::Base by config. This
configuration defaults to false to support older versions which have
removed it from their ApplicationController, but is set to true for
Rails 5.2.
|
| | |
|
| |
| |
| |
| | |
The guide misleadingly indicates that the I18n gem will apply the CLDR pluralization rules for each language. This is not the case; only the English algorithm, with support for :zero, :one, and :other, is available by default. Locale-specific pluralization rules require additional configuration and must be supplied by the application (or by another gem).
|
|\ \
| | |
| | | |
Add missing http status codes [ci skip]
|
| | |
| | |
| | |
| | |
| | | |
Ref: https://github.com/rack/rack/commit/5401f776f660b1f8d0e0650ba78478d7488eff75,
https://github.com/rack/rack/commit/73e08279d4433ca66cf22157a40dba562629031a
|
| | |
| | |
| | |
| | |
| | | |
This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing
changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
|
|\ \ \
| | | |
| | | |
| | | | |
Enforce frozen string in Rubocop
|
| |/ / |
|
|\ \ \
| |/ /
|/| | |
Clear screenshots files in `tmp:clear` task
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If system test fails, it creates screenshot under `tmp/screenshots`.
https://github.com/rails/rails/blob/34fe2a4fc778d18b7fe6bdf3629c1481bee789b9/actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb#L45
But currently, screenshot files is not cleared by `tmp:clear` task.
This patch make clears screenshot files with `tmp:clear` task as well
as other tmp files.
|
| | | |
|
| | |
| | |
| | | |
When using render plain the extension for the layout needs to be .text.erb instead of .txt.erb
|
| | | |
|
|/ /
| |
| |
| |
| |
| | |
RailsGuides
[ci skip]
|
| | |
|
| |
| |
| |
| |
| | |
Clarify the partial local variable name as being the same as the name
of the partial, minus the _leading_ underscore.
|
|\ \
| | |
| | |
| | |
| | | |
y-yagi/do_not_use_private_api_in_bug_report_templates
Do not use private API in bug report templates
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
`ActiveRecord::Migrator` is private API.
https://github.com/rails/rails/blob/bb9d6eb094f29bb94ef1f26aa44f145f17b973fe/activerecord/lib/active_record/migration.rb#L977
Therefore, it is not good to use it in bug report templates.
Instead, should use the public API `ActiveRecord::Migration#migrate`.
|
| | | |
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
Deprecate an `capify!` method in generators and templates
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The `capify` command has been removed by Capistrano 3 and became to
`cap install`.
Therefore, the `capify!` method has no meaning in Capistrano 3.
I think that should deprecate.
Ref: https://github.com/capistrano/capistrano/commit/492793916acf32ffe1604daec6fd4892c8935018
|
|/ / |
|
| |
| |
| |
| | |
which is always enabled now. Ref: https://github.com/rails/sprockets-rails/commit/655b93bffc6f51b96a7cc097f9010942693bfaae and https://github.com/rails/rails/pull/24070 . Fixes #29483 [ci skip] (#29484)
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Document Module#delegate_missing_to in the guides [ci skip]
|
| | |
| | |
| | |
| | |
| | | |
Added a small section for it in the `Active Support Core Extensions`
guide. [ci skip]
|