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

Untitled

a guest Nov 23rd, 2017 87 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. def self.perform(subscription)
  2.     Noun.new
  3.     require Rails.root.join("app","models","noun","twitter","user")
  4.     require Rails.root.join("app","models","noun","dropbox","file")
  5.     # debugger
  6.     begin
  7.       subscription = Hashie::Mash.new subscription.attributes # This fix was needed with this version of Mongoid, was throwing an "each_pair" error...
  8.     rescue
  9.       subscription = Hashie::Mash.new subscription # This fix was needed with this version of Mongoid, was throwing an "each_pair" error...
  10.     end
  11.     puts "Gather #{subscription.app_id} connections"
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