Project

General

Profile

« Previous | Next » 

Revision 9d43fc71

Added by Michael Moll almost 6 years ago

Fixes #19789 - fix Layout/SpaceAroundOperators cop

View differences:

app/models/domain.rb
validates :fullname, :uniqueness => true, :allow_blank => true, :allow_nil => true
scoped_search :on => [:name, :fullname], :complete_value => true
scoped_search :relation => :domain_parameters, :on => :value, :on_key=> :name, :complete_value => true, :only_explicit => true, :rename => :params
scoped_search :relation => :domain_parameters, :on => :value, :on_key => :name, :complete_value => true, :only_explicit => true, :rename => :params
# with proc support, default_scope can no longer be chained
# include all default scoping here

Also available in: Unified diff