| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
Fix :inverse_of documentation
|
|/
|
|
|
|
|
|
| |
options, and is needed for bi-directionality with a scope
[ci skip] Remove :conditions opion from association basics guide
This got replaced by scopes.
|
| |
|
|\
| |
| | |
Don't include Active Storage migrations in new apps
|
| |
| |
| |
| | |
See #31315 for full discussion
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
configuring.md [ci skip]
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Before Rails 4.0, `config.cache_classes` determined whether application
code was eager loaded. The `config.eager_load` option was introduced to
allow the two behaviours to be configured independently, but this
documentation was never updated to reflect that change.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
- Provide full / Fix generated HTML by `form_for` in the example.
- Provide full params in the example.
- Express params[:person] in the sentence.
|
| |
| |
| |
| | |
[ci skip]
|
| |
| |
| |
| | |
This reverts commit b106242f52272c4a5ced7a0e9d1dcb1b50542501.
|
|\ \
| | |
| | |
| | |
| | | |
albertoalmagro/remove-default-mysql-engine-from-ar-5-2
Remove default ENGINE=InnoDB for Mysql2 adapter
|
| | |
| | |
| | |
| | |
| | | |
Removes default ENGINE documentation hint for MySQL and MariaDB as we
aren't taking measures to set the default ENGINE anymore.
|
| | | |
|
| | |
| | |
| | |
| | | |
Thanks to @Datasnuten for the suggestion.
|
|\ \ \
| | | |
| | | | |
Update "Active Record Associations" guide [ci skip]
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Make all `ActiveRecord::Base.find` as link
- Remove redundant sentences
"It also adds the additional condition that the object must be in the collection."
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The [template](https://github.com/rails/rails/blob/master/railties/lib/rails/generators/rails/app/templates/config/storage.yml.tt#L10)
that generates the `config/storage.yml` file has the Amazon S3 key specified as `:amazon`, not `:s3`.
The guides should reflect the nomenclature, given that every other service also
has the name of the company as the key (:google, :microsoft).
|
| | | |
| | | |
| | | |
| | | | |
Like other Basics and Overview guides.
|
| | | | |
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Currently, generation of guide is an error in `5_2_release_notes.html`.
```
$ bunele exec rake guides:generate:html
Generating 5_2_release_notes.md as 5_2_release_notes.html
rails/guides/rails_guides/markdown.rb:44:in `dom_id': undefined method `[]' for nil:NilClass (NoMethodError)
from rails/guides/rails_guides/markdown.rb:106:in `block (2 levels) in generate_structure'
```
It seems that it is an error because there are multiple
`active-storage` anchors.
Since Active Storage is a Major feature, it is unnecessary to show
CHANGELOGs, so remove from `Incompatibilities` section.
|
| | |
| | |
| | |
| | | |
PUBLISHED ON http://guides.rubyonrails.org.**
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
`BigDecimal.new` has been deprecated in BigDecimal 1.3.3
which will be a default for Ruby 2.5.
Refer
https://github.com/ruby/bigdecimal/commit/533737338db915b00dc7168c3602e4b462b23503
* This commit has been made as follows:
```
cd rails
git grep -l BigDecimal.new | grep -v guides/source/5_0_release_notes.md | grep -v activesupport/test/xml_mini_test.rb | xargs sed -i -e "s/BigDecimal.new/BigDecimal/g"
```
- `activesupport/test/xml_mini_test.rb`
Editmanually to remove `.new` and `::`
- guides/source/5_0_release_notes.md
This is a Rails 5.0 release notes.
|
| |\ \
| | | |
| | | | |
Make it same title in index and page [ci skip]
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
- Add mention about `config.active_record.internal_metadata_table_name`
- Add mention about `config.active_record.protected_environments`
|
| | | | |
|
| |\ \ \
| | | | |
| | | | | |
[ci skip] Update routing guide for Direct & resolved routes
|
| | | |/
| | |/|
| | | |
| | | | |
* Added the direct method to routing guide.
|
| |/ /
| | |
| | |
| | | |
* Added `service_delete_prefixed.active_storage`.
|
| | | |
|
|\| | |
|
| | | |
|
| |\ \
| | | |
| | | | |
Add `assert_in_epsilon` to Testing guide [ci skip]
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
I found `assert_in_epsilon` is not be in "2.4 Available Assertions".
So I Added them.
MiniTest::Assertions#assert_in_epsilon:
https://github.com/seattlerb/minitest/blob/master/lib/minitest/assertions.rb#L204-L210
|
| |/ /
| | |
| | |
| | |
| | | |
- Add missing `LIMIT 1` for some queries
- Make some examples of query more readable
|
| | | |
|
| |\ \
| | | |
| | | | |
Cosmetic changes for Gemfile [ci skip]
|