Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Apr 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion guides/source/association_basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down