| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | | | |
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
Load :author_addresses fixture to keep data integrity with :authors
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
`:authors` has a foreign key to `:author_addresses`.
If only `:authors` fixture loaded into the database which supports
foreign key and checks the existing data when enabling foreien keys
like Oracle, it raises the following error
`ORA-02298: cannot validate (ARUNIT.FK_RAILS_94423A17A3) - parent keys not found`
It is because there is no parent data exists in `author_addresses` table.
Here are how other database with foreign key support works:
- MySQL does not check the existing data when enabling foreign key by `foreign_key_checks=1`
https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_foreign_key_checks
> Setting foreign_key_checks to 1 does not trigger a scan of the existing table data. Therefore, rows added to the table while foreign_key_checks=0 will not be verified for consistency.
- PostgreSQL database itself has a feature to check existing data when
enabling foreign key and discussed at #27636, which is reverted.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Add TransactionTimeout for MySQL error code 1205
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Fix spaces in the comment block [ci skip]
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| |_|_|/ / / / /
|/| | | | | | | |
Grammar fix
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
Changed the phrase '... and many more high targets' to '... and many more high _profile_ targets'
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Fixing nginx configuration added missing semicolon [ci skip]
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Use 5.2 version of ActiveRecord::Migration for Active Storage
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| |_|_|_|_|_|/
|/| | | | | |
| | | | | | |
| | | | | | | |
bogdanvlviv/remove-frozen_string_literal-from-blob-migration
Remove frozen_string_literal comment from activestorage's migration
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The activestorage's migration is used as template for apps
Related to #30348
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Automatically guess the inverse associations for STI
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
ActiveRecord associations automatically guess the inverse associations.
But this feature does not work correctly on assoctions for STI.
For example, before this commit
```
class Post < ActiveRecord::Base
belongs_to :author
end
class SpecialPost < Post; end
class Author < ActiveRecord::Base
has_many :posts
has_many :special_posts
end
```
`author.posts.first.author` works correctly, but
`author.special_posts.first.author` does not work correctly.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
missing backquotes [ci skip]
|
| | |_|_|_|/
| |/| | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
[actionpack] Update links to use https link instead of http [ci skip]
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
yhirano55/use_https_instead_of_http_in_activerecord
[activerecord] Update links to use https instead of http [ci skip]
|
| | |/ / / /
| |/| | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Remove frozen_string_literal magic comment from templates
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
yhirano55/use_https_instead_of_http_in_activesupport
[activesupport] Update links to use https instead of http [ci skip]
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Update MIT licenses link [ci skip]
|
| | |/ / / / /
| |/| | | | | |
|
| | | | | | | |
|
| |_|/ / / /
|/| | | | |
| | | | | |
| | | | | | |
Closes #30134.
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
Update debugging rails applications guide [ci skip]
|
|/ / / / / |
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
[ci skip] form_with in the getting started guide.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Add back a bit about a resource oriented style of routing.
|
|\ \ \ \ \
| |_|/ / /
|/| | | |
| | | | |
| | | | | |
yhirano55/fix_broken_link_to_mysql_docs_in_database_yml
Fix broken link to mysql docs in database.yml [ci skip]
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
Fix link in Contributing Ruby on Rails guide [ci skip]
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Add Contributing to the Rails Code link.
* Wiki link for Spanish is redirect.
* The base branch of Polish repo is master. And Turkish is, too.
* Unified expression `rails-dev-box`
* The Clone url is wrong.
* The mailing list url is old.
|
|\ \ \ \
| | | | |
| | | | | |
Update Contributing to Ruby on Rails guide [ci skip]
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
Update generator guide [ci skip]
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
`SET time zone 'value'` is an alias for `SET timezone TO 'value'`.
https://www.postgresql.org/docs/current/static/sql-set.html
So if `variables["timezone"]` is specified, it is enough to
`SET timezone` once.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Update Rails on Rack guide [ci skip]
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
Make `restart` and `dev:cache` tasks work when customizing pid file path
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Originally, it hard-coded pid file path. It can not be removed when customizing
pid file path.
But rake task can not get pid file path. Therefore, do not remove file in rake
task, makes it possible to judge whether it is restart from the argument of the
command and removes the file in server command.
Fixes #29306
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
yhirano55/update_autoloading_and_reloading_constants
Update Autoloading and Reloading Constants guide [ci skip]
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
[ci skip]
|