class ActiveRecord::Validations::TypedColumn
Public Instance Methods
Source
# File lib/active_record/validations/typed_column.rb, line 24 def binary? if __getobj__.respond_to?(:binary?) super else type == :binary end end
Calls superclass method
Source
# File lib/active_record/validations/typed_column.rb, line 8 def number? if __getobj__.respond_to?(:number?) super else type == :decimal || type == :integer end end
Calls superclass method
Source
# File lib/active_record/validations/typed_column.rb, line 16 def text? if __getobj__.respond_to?(:text?) super else type == :text || type == :string end end
Calls superclass method