Skip to content

Commit 5017bb7

Browse files
committed
Fix spelling
``` cat << 'EOF' > .git/hooks/pre-push bundle exec rake rubocop if command -v misspell >/dev/null; then misspell -w -error -source=text {app,config,lib,spec,test,docs,bin}/**/* 2>/dev/null fi EOF chmod +x .git/hooks/pre-push ```
1 parent 3594634 commit 5017bb7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/general/serializers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ In the controller, the scope/scope_name options are equal to
266266
the [`serialization_scope`method](https://github.com/rails-api/active_model_serializers/blob/d02cd30fe55a3ea85e1d351b6e039620903c1871/lib/action_controller/serialization.rb#L13-L20),
267267
which is `:current_user`, by default.
268268

269-
Specfically, the `scope_name` is defaulted to `:current_user`, and may be set as
269+
Specifically, the `scope_name` is defaulted to `:current_user`, and may be set as
270270
`serialization_scope :view_context`. The `scope` is set to `send(scope_name)` when `scope_name` is
271271
present and the controller responds to `scope_name`.
272272

test/benchmark/app.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class BenchmarkApp < Rails::Application
4343
config.secret_key_base = 'abc123'
4444
config.consider_all_requests_local = false
4545

46-
# otherwise deadlock occured
46+
# otherwise deadlock occurred
4747
config.middleware.delete 'Rack::Lock'
4848

4949
# to disable log files

0 commit comments

Comments
 (0)