diff options
Diffstat (limited to 'guides/source/active_record_querying.md')
-rw-r--r-- | guides/source/active_record_querying.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_querying.md b/guides/source/active_record_querying.md index e54557c4dc..bad38e3841 100644 --- a/guides/source/active_record_querying.md +++ b/guides/source/active_record_querying.md @@ -564,7 +564,7 @@ SELECT viewable_by, locked FROM clients Be careful because this also means you're initializing a model object with only the fields that you've selected. If you attempt to access a field that is not in the initialized record you'll receive: -```shell +```bash ActiveModel::MissingAttributeError: missing attribute: <attribute> ``` |