| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
- Added missing `"`.
|
|
|
|
|
|
| |
s/symantically/semantically/
[ci skip]
|
| |
|
|
|
|
| |
[ci-skip]
|
|\
| |
| |
| |
| | |
Conflicts:
guides/source/association_basics.md
|
| |
| |
| |
| |
| |
| |
| | |
- We no longer add `null: false` for timestamps columns as per
rails/rails@a939506.
- Followup of
https://github.com/rails/docrails/commit/14867b1a9af813b0147bba2ae06675137d61d77b.
|
| |
| |
| |
| |
| |
| |
| |
| | |
- We no longer add `null: false` for timestamps columns as per
https://github.com/rails/rails/commit/a939506f297b667291480f26fa32a373a18ae06a.
- Similarly `references` and `belongs_to` columns no longer mention
`index: true` in migration files. It's added by default as per
https://github.com/rails/rails/commit/909818b93b8f1bd4d7053a1c5d8135b9b0cbe865.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
As shown below, we should use <tt>...</tt> for string literal
```
$ echo "+'id'+" | rdoc --pipe
<p>+'id'+</p>
$ echo "<tt>'id'</tt>" | rdoc --pipe
<p><code>'id'</code></p>
```
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Follow up 8c629bf463b47643712570d4511a68b9a3da1476.
`bundle exec rake test` in 'activerecord' runs tests for
* sqlite3
* mysql2
* postgresql
|
| |
| |
| |
| | |
[ci skip]
|
|\ \
| | |
| | | |
Fix typo `--ssl-cipher`
|
|/ /
| |
| |
| | |
Follow up to #22543.
|
|\ \
| | |
| | | |
remove entry for reverted commit [ci skip]
|
|/ /
| |
| |
| | |
Follow up to ddf4c953ae8d10489e0bfd6008bd76395f6e1267
|
|\ \
| | |
| | | |
chage `date_time` type ` to `datetime`
|
| | |
| | |
| | |
| | | |
Since we are using `datetime` in migration, better to use `datetime` is I think that confusion is less.
|
|\ \ \
| | | |
| | | | |
make attributes API example to work [ci skip]
|
|/ / /
| | |
| | |
| | | |
There is a need to pass the keyword arguments to `attribute` method.
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
In the latest security releases render with a trailing slash no more call
render :file.
Also add a note about the security implications of using it with user
parameters.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
stevenspiel/titleize_model_name_for_default_submit_button_value"
This reverts commit 4158974c60d817c9bc1e2aecb342161295f2ac0d, reversing
changes made to 3d590add45b7ff1de972d99b076cb504d5208935.
Reason: This break i18n in some languages. See
https://github.com/rails/rails/issues/791#issuecomment-192724640
|
|\ \
| | |
| | |
| | |
| | | |
y-yagi/remove_unnecessary_config_in_sprockets-rails-3
remove config that are no longer needed in sprockets-rails 3
|
| | |
| | |
| | |
| | |
| | | |
`config.assets.raise_runtime_errors` and `config.assets.digest` are enabled
by default in sprockets-rails 3.
|
|\ \ \
| | | |
| | | | |
Remove http_cache_forever's version parameter
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
fix typo in attribute example [ci skip]
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
A small documentation fix about autosave associations [ci skip]
|
| |/ / |
|
|/ /
| |
| |
| |
| | |
Defining paths relative to a file name has always hurt my soul,
with __dir__ we can restore order in the Universe.
|
|\ \
| | |
| | | |
Fix indentation [ci skip]
|
| | |
| | |
| | |
| | | |
Follow up to #24050.
|
|\ \ \
| |/ /
|/| | |
remove outdated comment [ci skip]
|
|/ /
| |
| |
| | |
Currently use minitest mock, mocha is not used.
|
|\ \
| | |
| | | |
Match Puma 3 startup messages [ci skip]
|
| | | |
|
|/ /
| |
| |
| |
| | |
Introduce a predicate method that doesn't need to build a scope chain,
but also hides the data structure used for representing the scope chain.
|
|\ \
| | |
| | | |
Fix author callback in engines guide [ci skip]
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The `before_save` callback used with `set_author` results in the
validation error "Author must exist," due to the change in `belongs_to`
behavior introduced by #18937.
Use `before_validation` instead.
|
| | |
| | |
| | |
| | | |
https://github.com/rails/rails/pull/24052/files#r55083975
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
We know a reflection can be considered as `nested?` if the source
reflection or the through reflection are also through reflections (since
the through reflection will also add another join table). This allows
us to avoid traversing the entire reflection tree just to calculate whether or
not there will be more join tables.
|
| | |
|
|\ \
| | |
| | | |
using rails dev:cache instead of rake dev:cache in test case
|
| | | |
|
|\ \ \
| | | |
| | | | |
[ci skip] correcting test case specifying `rails routes` instead of `rake routes`
|
| | | | |
|
| |/ /
| | |
| | |
| | | |
of `rake routes`
|
|\ \ \
| | | |
| | | | |
Action Cable: Return subscription object(s) when updating the collection
|