Need a unique gift idea?
A Pastebin account makes a great Christmas gift


a guest Jul 11th, 2018 64 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. irb(main):140:0> Card.find(:id => 1)
  2. => #<Card @values={:balance=>100.0, :first_name=>"Diego", :last_name=>"Viola", :id=>1, :card_number=>"1000"}>
  3. irb(main):141:0> Card.find(:id => 1).first_name
  4. NoMethodError: undefined method `first_name' for #<Card:0xb76c719c>
  5.         from (irb):141
  6.         from :0
  7. irb(main):142:0>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand