Class: Filter

Inherits:
ApplicationRecord show all
Defined in:
/var/apps/qpixel/app/models/filter.rb

Instance Method Summary collapse

Methods inherited from ApplicationRecord

#attributes_print, fuzzy_search, match_search, #match_search, sanitize_for_search, sanitize_name, sanitize_sql_in, useful_err_msg, with_lax_group_rules

Instance Method Details

#system?Boolean

Returns:

  • (Boolean)


8
9
10
# File '/var/apps/qpixel/app/models/filter.rb', line 8

def system?
  user_id == -1
end