Class: WiceGridSerializedQuery

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/wice/wice_grid_serialized_query.rb

Overview

:nodoc:

Class Method Summary collapse

Class Method Details

.list(name, _controller) ⇒ Object

returns a list of all serialized queries



9
10
11
12
# File 'lib/wice/wice_grid_serialized_query.rb', line 9

def self.list(name, _controller)
  conditions = { grid_name: name }
  self.where(conditions).to_a
end