Skip to content

Instantly share code, notes, and snippets.

@luizcarvalho
Created March 13, 2009 14:43
Show Gist options
  • Save luizcarvalho/78586 to your computer and use it in GitHub Desktop.
Save luizcarvalho/78586 to your computer and use it in GitHub Desktop.
id
veiculo
ano
modelo
conservacao
pasta
combustivel
placa
chassis
renavan
=> [#<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0xb6c3aa08 @limit=nil, @sql_type="integer", @scale=nil, @name="id", @type=:integer, @precision=nil, @primary=nil, @null=false, @default=nil>,
#<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0xb6c33aa0 @limit=50, @sql_type="character varying(50)", @scale=nil, @name="veiculo", @type=:string, @precision=nil, @primary=nil, @null=true, @default=nil>,
#<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0xb6c33a28 @limit=nil, @sql_type="integer", @scale=nil, @name="ano", @type=:integer, @precision=nil, @primary=nil, @null=true, @default=nil>,
#<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0xb6c33938 @limit=nil, @sql_type="integer", @scale=nil, @name="modelo", @type=:integer, @precision=nil, @primary=nil, @null=true, @default=nil>,
#<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0xb6c338c0 @limit=150, @sql_type="character varying(150)", @scale=nil, @name="conservacao", @type=:string, @precision=nil, @primary=nil, @null=true, @default=nil>,
#<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0xb6c33820 @limit=100, @sql_type="character varying(100)", @scale=nil, @name="pasta", @type=:string, @precision=nil, @primary=nil, @null=true, @default=nil>,
#<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0xb6c33730 @limit=20, @sql_type="character varying(20)", @scale=nil, @name="combustivel", @type=:string, @precision=nil, @primary=nil, @null=true, @default=nil>,
#<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0xb6c33668 @limit=8, @sql_type="character varying(8)", @scale=nil, @name="placa", @type=:string, @precision=nil, @primary=nil, @null=true, @default=nil>,
#<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0xb6c335a0 @limit=20, @sql_type="character varying(20)", @scale=nil, @name="chassis", @type=:string, @precision=nil, @primary=nil, @null=true, @default=nil>,
#<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0xb6c334d8 @limit=20, @sql_type="character varying(20)", @scale=nil, @name="renavan", @type=:string, @precision=nil, @primary=nil, @null=true, @default=nil>]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment