Technical
Columns Manipulations


>> Security2Risk.column_names
=> ["secId", "industryId", "volatility", "volume", "outstanding", "bondRating", "modDuration", "worldBeta", "USBeta", "spread", "isWorthLess", "isMajorIndex", "delta", "reserved1", "rho", "vega", "gamma", "theta"]

Security2Risk.columns[0]
=> #<ActiveRecord::ConnectionAdapters::SybaseAdapter::ColumnWithIdentity:0x41300ad4 @null=false, @identity=false, @type=:integer, @number=true, @limit=4, @text=false, @name="secId", @default=nil, @sql_type="int(4)", @primary=true>

>> Security2Risk.columns_hash["secId"].type
=> :integer