daily pastebin goal
13%
SHARE
TWEET

Untitled

a guest Nov 23rd, 2017 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. begin
  2.       subscription = Hashie::Mash.new subscription.attributes # This fix was needed with this version of Mongoid, was throwing an "each_pair" error...
  3.     rescue
  4.       subscription = Hashie::Mash.new subscription # This fix was needed with this version of Mongoid, was throwing an "each_pair" error...
  5.     end
RAW Paste Data
Top