mirror of
https://github.com/jbranchaud/til
synced 2026-01-05 08:08:02 +00:00
Add ruby syntax highlighting
This commit is contained in:
@@ -14,6 +14,6 @@ For instance, if we have a standard set of roles for users of our
|
|||||||
application, we can except that table from truncation with a line like the
|
application, we can except that table from truncation with a line like the
|
||||||
following in our `rails_helper.rb` file:
|
following in our `rails_helper.rb` file:
|
||||||
|
|
||||||
```
|
```ruby
|
||||||
DatabaseCleaner.strategy = :truncation, {:except => %w[roles]}
|
DatabaseCleaner.strategy = :truncation, {:except => %w[roles]}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user