Skip to content

Commit dc2094b

Browse files
committed
Add ruby syntax highlighting
1 parent 91bd07b commit dc2094b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rails/truncate-almost-all-tables.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ For instance, if we have a standard set of roles for users of our
1414
application, we can except that table from truncation with a line like the
1515
following in our `rails_helper.rb` file:
1616

17-
```
17+
```ruby
1818
DatabaseCleaner.strategy = :truncation, {:except => %w[roles]}
1919
```

0 commit comments

Comments
 (0)