method
extract_limit
Ruby on Rails latest stable (v3.2.13)
-
0 notes -
Class: ActiveRecord::ConnectionAdapters::PostgreSQLColumn
extract_limit(sql_type)
private
Hide source
# File activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 57 def extract_limit(sql_type) case sql_type when /^bigint/; 8 when /^smallint/; 2 else super end end


