app/models/labeling/base.rb in iqvoc-4.0.2 vs app/models/labeling/base.rb in iqvoc-4.0.3
- old
+ new
@@ -43,11 +43,11 @@
def self.label_published
includes(:target).merge(Label::Base.published)
end
- def self.label_begins_with(letter)
- includes(:target).merge(Label::Base.begins_with(letter))
+ def self.label_begins_with(prefix)
+ includes(:target).merge(Label::Base.begins_with(prefix))
end
def self.by_label_language(lang)
includes(:target).merge(Label::Base.by_language(lang.to_s))
end