| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
[ci skip] Fix migration file's timestamp
|
| |
| |
| |
| | |
In rails generally migration file's timestamp is "YYYYMMDDHHMMSS".
|
|\ \
| | |
| | | |
Remove unused block arguments
|
| | | |
|
|\ \ \
| | | |
| | | | |
Remove unused variables
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Add `assert_nothing_raised` to make clear test case perpose
|
| | |/ /
| |/| | |
|
|\ \ \ \
| | | | |
| | | | | |
Use the PORT environment variable for rails server
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Only nullify persisted has_one target associations
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Since after 87d1aba3c `dependent: :destroy` callbacks on has_one
assocations run *after* destroy, it is possible that a nullification is
attempted on an already destroyed target:
class Car < ActiveRecord::Base
has_one :engine, dependent: :nullify
end
class Engine < ActiveRecord::Base
belongs_to :car, dependent: :destroy
end
> car = Car.create!
> engine = Engine.create!(car: car)
> engine.destroy! # => ActiveRecord::ActiveRecordError: cannot update a
> destroyed record
In the above case, `engine.destroy!` deletes `engine` and *then* triggers the
deletion of `car`, which in turn triggers a nullification of `engine.car_id`.
However, `engine` is already destroyed at that point.
Fixes #21223.
|
|\ \ \ \ \ \
| |_|_|_|_|/
|/| | | | |
| | | | | |
| | | | | |
| | | | | | |
y-yagi/add_activejob_section_to_instrumentation_guide
add Active Job section to instrumentation guide [ci skip]
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Get rid of mocha tests in actionpack - part 1
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Small fixes [ci skip]
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* fix command list for thread
* add omitted end of code
* fix description for `continue` and `finish` command
|
| |_|_|/ / / /
|/| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
[ci skip]
This example is dependent on the `:end_at` option and has been removed
from `4-2-stable` (d167b811520a6f800b86c77b805d15505a251bb8)
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Removed Mocha from ActionView part 1
|
| | |_|_|_|_|/
| |/| | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Conflicts:
guides/source/security.md
|
| |\ \ \ \ \ \ \
| | |/ / / / / /
| |/| | | | | | |
[ci skip] Fix the grammar
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
This is discussed on https://github.com/rails/rails/pull/21334
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
we already have a request, so we should use the methods on the request
to access the path info information
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Creates fewer request objects and helps to abstract away from internals
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
try to remove dependencies on `@env` so we can have more flexible
internals
|
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Remove test helper method to inside test method
|
| | | |_|_|_|/
| | |/| | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Remove `MigrationTest#connection` and write `ActiveRecord::Base.connection`
directly to test, because `MigrationTest#connection` is only used in
`test_migration_instance_has_connection`.
|
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Another place to use a request object in NullSessionHash
|
| | |/ / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
May be missed in 5fe141638f1243ac6ae187ae14aa398b4c1875a2 commit
Also fixes the broken build
|
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Remove a link to the site that seems to be gone. [ci skip]
|
| | |/ / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
Followup to #20637.
|
| |\ \ \ \ \ \
| | |/ / / / /
| |/| | | | | |
Added docs for CollectionProxy#take
|
| | | | | | | |
|
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
fix syntax error in strip_links example [ci skip]
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
can not use double quotes in double quoted string without escape
|
| |\ \ \ \ \ \ \
| | |/ / / / / /
| |/| | | | | | |
Remove not used a block argument (`&block`)
|
| | | |/ / / /
| | |/| | | | |
|
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
[ci skip] Add style guide about comma
|
| | |/ / / / / |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This commit allows us to use one request object rather than allocating
multiple request objects to deal with the session.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
We're going to implement storing env values differently in the future,
so let's disconnect these methods from the instance variables
|