module Ransack::Naming
Public Class Methods
included(base)
click to toggle source
# File lib/ransack/naming.rb, line 4 def self.included(base) base.extend ClassMethods end
Public Instance Methods
model_name()
click to toggle source
# File lib/ransack/naming.rb, line 24 def model_name self.class.model_name end
persisted?()
click to toggle source
# File lib/ransack/naming.rb, line 8 def persisted? false end
to_key()
click to toggle source
# File lib/ransack/naming.rb, line 12 def to_key nil end
to_model()
click to toggle source
# File lib/ransack/naming.rb, line 20 def to_model self end
to_param()
click to toggle source
# File lib/ransack/naming.rb, line 16 def to_param nil end