From dc2094b1c2799d6addfc882765ee35671d932b03 Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Tue, 1 Mar 2016 19:38:52 -0600 Subject: [PATCH] Add ruby syntax highlighting --- rails/truncate-almost-all-tables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rails/truncate-almost-all-tables.md b/rails/truncate-almost-all-tables.md index cd23796..e8b4a5e 100644 --- a/rails/truncate-almost-all-tables.md +++ b/rails/truncate-almost-all-tables.md @@ -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 following in our `rails_helper.rb` file: -``` +```ruby DatabaseCleaner.strategy = :truncation, {:except => %w[roles]} ```