... quantity*unit_price from line_items;+ + +| quantity | quantity*unit_price |+ + +| 1 | 29. 95 || 2 | 59. 90 || 1 | 44 .95 |::Notice that the column headings of the result set reflect the terms we gaveto ... result.attributes{"order_id"=>13,"quantity"=>1,"product_id"=>27,"id"=>34,"unit_price"=> 29. 95}Normally, we don’t access this data via the attributes hash. Instead, weuse attribute methods.result = LineItem.find(:first)p result.quantity #=> 1p result.unit_price #=> 29. 95But ... works within Rails. Inthe next chapter, we’ll take onActionView.When we looked at Active Record, we treated it as a freestanding library;you can use Active Record as a part of a nonweb Ruby...