14
The errors are accessed through the errors instance method. Example:
ruby-1.8.7-p334 :001 > c = Company.new
=> #<Company id: nil, name: nil, link: nil, created_at: nil, updated_at: nil>
ruby-1.8.7-p334 :002 > c.save
=> false
ruby-1.8.7-p334 :003 > c.errors
=> #<OrderedHash {:name=>["can't be blank"]}>