daily pastebin goal
72%
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
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