Sha256: 603fbf0307f65d3d3735e99560d83b55d5a48cba77946cc536d445aa692b1af4

Contents?: true

Size: 393 Bytes

Versions: 25

Compression:

Stored size: 393 Bytes

Contents

module Lolita
  module Configuration
    module Field
      class String < Lolita::Configuration::Field::Base
        lolita_accessor :simple, :rows
        def initialize dbi,name,*args, &block
          super
          if self.dbi_field && self.dbi_field.options[:native_type] == "text"
            self.builder = :text unless @builder
          end
        end

      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
lolita-4.0.11 lib/lolita/configuration/field/string.rb
lolita-4.2.0 lib/lolita/configuration/field/string.rb
lolita-4.0.10 lib/lolita/configuration/field/string.rb
lolita-4.0.9 lib/lolita/configuration/field/string.rb
lolita-4.0.8 lib/lolita/configuration/field/string.rb
lolita-4.0.6 lib/lolita/configuration/field/string.rb
lolita-3.4.3 lib/lolita/configuration/field/string.rb
lolita-3.3.7 lib/lolita/configuration/field/string.rb
lolita-3.3.5 lib/lolita/configuration/field/string.rb
lolita-3.2.0.rc.17 lib/lolita/configuration/field/string.rb
lolita-3.2.0.rc.16 lib/lolita/configuration/field/string.rb
lolita-3.2.0.rc.14 lib/lolita/configuration/field/string.rb
lolita-3.2.0.rc.13 lib/lolita/configuration/field/string.rb
lolita-3.2.0.rc.12 lib/lolita/configuration/field/string.rb
lolita-3.2.0.rc.11 lib/lolita/configuration/field/string.rb
lolita-3.2.0.rc.10 lib/lolita/configuration/field/string.rb
lolita-3.2.0.rc.9 lib/lolita/configuration/field/string.rb
lolita-3.2.0.rc.7 lib/lolita/configuration/field/string.rb
lolita-3.1.18 lib/lolita/configuration/field/string.rb
lolita-3.2.0.rc.6 lib/lolita/configuration/field/string.rb