Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >> @customer = Customer.find(101)
- => #<Customer id: 101, firstname: "richard", lastname: "genthner", address1: "25 cosy harbor", address2: "", city: "southport", zipcode: "04576", state: "maine", email: "richard@guthnur.net", phone1: "207-633-7092", phone2: "", created_at: "2008-10-23 04:23:29", updated_at: "2008-10-23 04:23:29">
- >> @customer.po
- NoMethodError: undefined method `po' for #<Customer:0x20e3bb4>
- from /Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/attribute_methods.rb:256:in `method_missing'
- from /Users/richard/Desktop/woody_v2/vendor/plugins/attribute_fu/lib/attribute_fu/associations.rb:28:in `method_missing'
- from (irb):5
- >> @customer.pos
- NoMethodError: undefined method `pos' for #<Customer:0x20e3bb4>
- from /Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/attribute_methods.rb:256:in `method_missing'
- from /Users/richard/Desktop/woody_v2/vendor/plugins/attribute_fu/lib/attribute_fu/associations.rb:28:in `method_missing'
- from (irb):6
- >> @customer.tickets
- => []
- >>
Add Comment
Please, Sign In to add comment