Created
March 26, 2019 13:39
-
-
Save jmmastey/f54d22e68db2bd386876cb7b5c4d2b72 to your computer and use it in GitHub Desktop.
codebase upgrades
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if Gem::Version.new(Rails.version) >= Gem::Version.new("5.0") | |
raise "Remove this file! You don't need it anymore" | |
end | |
class ActiveJob::Base | |
def self.deserialize(job_data) | |
# monkey patch goes here | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment