daily pastebin goal
67%
SHARE
TWEET

Untitled

a guest Jun 5th, 2017 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. >> obj=VoicemailUser.new(:mailbox => "7069999999", :password => "1234")
  2. => #<VoicemailUser:0xb74f461c @attributes={"volgain"=>nil, "sayduration"=>nil, "tempgreetwarn"=>nil, "mailbox"=>"7069999999", "saycid"=>nil, "deletevoicemail"=>nil, "forcename"=>nil, "sendvoicemail"=>nil, "review"=>nil, "language"=>nil, "fullname"=>nil, "imappassword"=>nil, "maxmessage"=>nil, "callback"=>nil, "saydurationm"=>nil, "envelope"=>nil, "serveremail"=>nil, "pager"=>nil, "forcegreetings"=>nil, "operator"=>nil, "tz"=>nil, "stamp"=>nil, "maxmsg"=>nil, "attach"=>nil, "context"=>"default", "password"=>"1234", "imapuser"=>nil, "exitcontext"=>nil, "dialout"=>nil, "attachfmt"=>nil, "email"=>nil}, @new_record=true>
  3. >> obj.valid?
  4. ArgumentError: wrong number of arguments (1 for 0)
  5.     from /usr/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/callbacks.rb:312:in `callback'
  6.     from /usr/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/callbacks.rb:312:in `valid?'
  7.     from (irb):2
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
 
Top