Docs: fix misspel on association_basics.md [ci-skip] (#47958)

* Docs: fix misspel on association_basics.md [ci-skip]

* Fix the same misspell on has_one_associations_test.rb
This commit is contained in:
Shozo Hatta 2023-04-17 15:27:23 +09:00 committed by GitHub
parent 0b5505e826
commit 950ffb93d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

@ -392,7 +392,7 @@ def test_reload_association_with_query_cache
ActiveRecord::Base.connection.disable_query_cache!
end
def test_reset_assocation
def test_reset_association
odegy = companies(:odegy)
assert_equal 53, odegy.account.credit_limit

@ -1328,7 +1328,7 @@ When you declare a `has_one` association, the declaring class automatically gain
* `create_association(attributes = {})`
* `create_association!(attributes = {})`
* `reload_association`
* `reset_assocation`
* `reset_association`
In all of these methods, `association` is replaced with the symbol passed as the first argument to `has_one`. For example, given the declaration: