Skip to content

Commit

Permalink
📝 Fix ActiveRecord spelling
Browse files Browse the repository at this point in the history
Found some inconsistent spellings for ActiveRecord while perusing the README
  • Loading branch information
Jared Smith authored and Anil Kumar Maurya committed Jun 28, 2021
1 parent 0aceb56 commit 077f8c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ end

which then leads to `transaction(requires_new: false)`, the Rails default.

Additionally, if you do not want any of your active record actions to be
Additionally, if you do not want any of your ActiveRecord actions to be
wrapped in a transaction, you can specify the `use_transactions` flag. This can
be useful if you want want to persist things to the database that happen as a
result of a transaction or callback, even when some error occurs. The
Expand All @@ -1104,7 +1104,7 @@ end

### Pessimistic Locking

AASM supports [Active Record pessimistic locking via `with_lock`](http://api.rubyonrails.org/classes/ActiveRecord/Locking/Pessimistic.html#method-i-with_lock) for database persistence layers.
AASM supports [ActiveRecord pessimistic locking via `with_lock`](http://api.rubyonrails.org/classes/ActiveRecord/Locking/Pessimistic.html#method-i-with_lock) for database persistence layers.

| Option | Purpose |
| ------ | ------- |
Expand Down Expand Up @@ -1461,7 +1461,7 @@ After installing AASM you can run generator:
```
Replace NAME with the Model name, COLUMN_NAME is optional(default is 'aasm_state').
This will create a model (if one does not exist) and configure it with aasm block.
For Active record orm a migration file is added to add aasm state column to table.
For ActiveRecord orm a migration file is added to add aasm state column to table.

### Docker

Expand Down

0 comments on commit 077f8c7

Please sign in to comment.