Double quotes -> single quotes (#hound)

This commit is contained in:
Jure Grabnar 2016-08-09 13:19:32 +02:00
parent 9f7df0af76
commit e995165876

View file

@ -33,7 +33,7 @@ class MyModule < ActiveRecord::Base
has_many :report_elements, inverse_of: :my_module, :dependent => :destroy has_many :report_elements, inverse_of: :my_module, :dependent => :destroy
has_many :protocols, 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) def self.search(user, include_archived, query = nil, page = 1)
exp_ids = exp_ids =