Class: AcFilterDef

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/ac_filter_def.rb

Instance Method Summary collapse

Instance Method Details

#has_sql_query?Boolean

Returns:

  • (Boolean)


23
24
25
# File 'app/models/ac_filter_def.rb', line 23

def has_sql_query?
  sql_query.to_s != ''
end

#include_paramObject



19
20
21
# File 'app/models/ac_filter_def.rb', line 19

def include_param
  read_marshal_attribute(:include_param)
end

#include_param=(value) ⇒ Object



15
16
17
# File 'app/models/ac_filter_def.rb', line 15

def include_param=(value)
  write_marshal_attribute(:include_param, value)
end

#joins_paramObject



11
12
13
# File 'app/models/ac_filter_def.rb', line 11

def joins_param
  read_marshal_attribute(:joins_param)
end

#joins_param=(value) ⇒ Object



7
8
9
# File 'app/models/ac_filter_def.rb', line 7

def joins_param=(value)
  write_marshal_attribute(:joins_param, value)
end