From e995165876a1e4133bec10929a5b0a90ad033f95 Mon Sep 17 00:00:00 2001 From: Jure Grabnar Date: Tue, 9 Aug 2016 13:19:32 +0200 Subject: [PATCH] Double quotes -> single quotes (#hound) --- app/models/my_module.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/my_module.rb b/app/models/my_module.rb index aa98cee91..5848a35af 100644 --- a/app/models/my_module.rb +++ b/app/models/my_module.rb @@ -33,7 +33,7 @@ class MyModule < ActiveRecord::Base has_many :report_elements, inverse_of: :my_module, :dependent => :destroy has_many :protocols, inverse_of: :my_module, dependent: :destroy - scope :is_archived, ->(is_archived) { where("archived = ?", is_archived) } + scope :is_archived, ->(is_archived) { where('archived = ?', is_archived) } def self.search(user, include_archived, query = nil, page = 1) exp_ids =