I hereby claim:
- I am mmangino on github.
- I am mmangino (https://keybase.io/mmangino) on keybase.
- I have a public key ASC9PijmLHoS98r1o68D80ZcnBZ7OkSlPzVm14i1Uexl_wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# any idea how I could protect find_then_update_or_create_from_has with | |
# protect_from_non_user_hash by getting it to return what protect_from_non_user_hash | |
# returns? | |
# Basically use protect_from_non_user_hash to stop find_then_update_or_create_from_hash | |
class User < ActiveRecord::Base | |
def self.protect_from_non_user_hash(hash) | |
return nil if !hash.is_a?(Hash) || hash['error'] | |
end | |
module Technoweenie # :nodoc: | |
module AttachmentFu # :nodoc: | |
module Backends | |
module FacebookerBackend | |
class RequiredLibraryNotFoundError < StandardError; end | |
class ConfigFileNotFoundError < StandardError; end | |
def self.included(base) #:nodoc: | |
verify_facebooker_is_present | |
end |