Guest User

Untitled

a guest
Apr 22nd, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.25 KB | None | 0 0
  1. >> Property.content_columns
  2. => [#<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0xb704f2ec @sql_type="character varying(255)", @precision=nil, @primary=false, @name="title", @type=:string, @limit=255, @null=true, @default=nil, @scale=nil>, #<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0xb704f274 @sql_type="numeric(15,10)", @precision=15, @primary=false, @name="lat", @type=:decimal, @limit=15, @null=true, @default=nil, @scale=10>, #<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0xb704f184 @sql_type="numeric(15,10)", @precision=15, @primary=false, @name="lng", @type=:decimal, @limit=15, @null=true, @default=nil, @scale=10>, #<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0xb704f0d0 @sql_type="integer", @precision=nil, @primary=false, @name="band", @type=:integer, @limit=nil, @null=true, @default=nil, @scale=nil>, #<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0xb704ef90 @sql_type="integer", @precision=nil, @primary=false, @name="bedrooms", @type=:integer, @limit=nil, @null=true, @default=nil, @scale=nil>, #<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0xb704ee8c @sql_type="integer", @precision=nil, @primary=false, @name="beds", @type=:integer, @limit=nil, @null=true, @default=nil, @scale=nil>, #<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0xb704edec @sql_type="integer", @precision=nil, @primary=false, @name="sleeps", @type=:integer, @limit=nil, @null=true, @default=nil, @scale=nil>, #<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0xb704ed4c @sql_type="integer", @precision=nil, @primary=false, @name="double_bedrooms", @type=:integer, @limit=nil, @null=true, @default=nil, @scale=nil>, #<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0xb704ecac @sql_type="integer", @precision=nil, @primary=false, @name="twin_bedrooms", @type=:integer, @limit=nil, @null=true, @default=nil, @scale=nil>, #<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0xb704ec0c @sql_type="integer", @precision=nil, @primary=false, @name="single_bedrooms", @type=:integer, @limit=nil, @null=true, @default=nil, @scale=nil>, #<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0xb704ea54 @sql_type="integer", @precision=nil, @primary=false, @name="disabled_access", @type=:integer, @limit=nil, @null=true, @default=nil, @scale=nil>, #<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0xb704e914 @sql_type="text", @precision=nil, @primary=false, @name="bookings_hash", @type=:text, @limit=nil, @null=true, @default=nil, @scale=nil>, #<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0xb704e874 @sql_type="text", @precision=nil, @primary=false, @name="description", @type=:text, @limit=nil, @null=true, @default=nil, @scale=nil>, #<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0xb704e734 @sql_type="timestamp without time zone", @precision=nil, @primary=false, @name="created_at", @type=:datetime, @limit=nil, @null=true, @default=nil, @scale=nil>, #<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0xb704e694 @sql_type="timestamp without time zone", @precision=nil, @primary=false, @name="updated_at", @type=:datetime, @limit=nil, @null=true, @default=nil, @scale=nil>, #<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0xb704e5cc @sql_type="text", @precision=nil, @primary=false, @name="booked_dates", @type=:text, @limit=nil, @null=true, @default=nil, @scale=nil>]
Add Comment
Please, Sign In to add comment