Sha256: d1d53ea80d77f0ef427bdbd80b5d61fed3427d77ed76e815f2a3942a73da4e39

Contents?: true

Size: 303 Bytes

Versions: 30

Compression:

Stored size: 303 Bytes

Contents

module Formtastic
  module Inputs
    module Base
      module Database
        
        def column
          object.column_for_attribute(method) if object.respond_to?(:column_for_attribute)
        end
        
        def column?
          !column.nil?
        end
        
      end
    end
  end
end

Version data entries

30 entries across 30 versions & 2 rubygems

Version Path
formtastic-3.1.2 lib/formtastic/inputs/base/database.rb
formtastic-3.1.1 lib/formtastic/inputs/base/database.rb
formtastic-3.1.0 lib/formtastic/inputs/base/database.rb
formtastic-3.1.0.rc2 lib/formtastic/inputs/base/database.rb
formtastic-3.1.0.rc1 lib/formtastic/inputs/base/database.rb
formtastic-3.0.0 lib/formtastic/inputs/base/database.rb
formtastic-3.0.0.rc2 lib/formtastic/inputs/base/database.rb
formtastic-2.3.1 lib/formtastic/inputs/base/database.rb
formtastic-2.3.0 lib/formtastic/inputs/base/database.rb
formtastic-3.0.0.rc lib/formtastic/inputs/base/database.rb
formtastic-2.3.0.rc4 lib/formtastic/inputs/base/database.rb
formtastic-2.3.0.rc3 lib/formtastic/inputs/base/database.rb
formtastic-2.3.0.rc2 lib/formtastic/inputs/base/database.rb
formtastic-2.3.0.rc lib/formtastic/inputs/base/database.rb
formtastic-2.2.1 lib/formtastic/inputs/base/database.rb
formtastic-2.2.0 lib/formtastic/inputs/base/database.rb
formtastic-2.2.0.rc lib/formtastic/inputs/base/database.rb
formtastic-2.1.1 lib/formtastic/inputs/base/database.rb
formtastic-2.1.0 lib/formtastic/inputs/base/database.rb
formtastic-2.1.0.rc lib/formtastic/inputs/base/database.rb