class RPH::FormAssistant::Rules

used to assist generic logic throughout FormAssistant

Public Class Methods

binding_required?() click to toggle source

used mainly for concat() so that this plugin will work with versions of Rails other than edge

# File lib/form_assistant/rules.rb, line 8
def self.binding_required?
  !!( Rails.version < '2.2.0' )
end
has_I18n_support?() click to toggle source
# File lib/form_assistant/rules.rb, line 12
def self.has_I18n_support?
  !!( Rails.version > '2.2.0' )
end