Guest User

Untitled

a guest
Jun 19th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. class User < ActiveRecord::Base
  2. typed_serialize :preferences, Array
  3. end
  4.  
  5. ruby-1.9.1-p378 > User.first.preferences
  6. RuntimeError: implicit argument passing of super from method defined by define_method() is not supported. Specify all arguments explicitly.
  7. from /Users/toby/.rvm/gems/ruby-1.9.1-p378@jibe/gems/typed_serialize-0.1.0/lib/typed_serialize.rb:7:in `block in typed_serialize'
  8. from (irb):3
  9. from /Users/toby/.rvm/rubies/ruby-1.9.1-p378/bin/irb:17:in `<main>'
Add Comment
Please, Sign In to add comment