module Formtastic::Inputs::Base::Database
Public Instance Methods
column()
click to toggle source
# File lib/formtastic/inputs/base/database.rb, line 6 def column if object.respond_to?(:column_for_attribute) # Remove deprecation wrapper & review after Rails 5.0 ships ActiveSupport::Deprecation.silence do object.column_for_attribute(method) end end end
column?()
click to toggle source
# File lib/formtastic/inputs/base/database.rb, line 15 def column? !column.nil? end