mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-27 10:08:11 +08:00
Double quotes -> single quotes (#hound)
This commit is contained in:
parent
9f7df0af76
commit
e995165876
1 changed files with 1 additions and 1 deletions
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue