Commit 83a1551d authored by Luke Duncalfe's avatar Luke Duncalfe

Fix validates example in DB migration styleguide

parent e7f4c967
......@@ -814,7 +814,7 @@ When using a `JSONB` column, use the [JsonSchemaValidator](https://gitlab.com/gi
```ruby
class BuildMetadata
validates: :config_options, json_schema: { filename: 'build_metadata_config_option' }
validates :config_options, json_schema: { filename: 'build_metadata_config_option' }
end
```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment