Skip to content

Instantly share code, notes, and snippets.

@sam0x17
Created November 17, 2019 15:38
Show Gist options
  • Save sam0x17/cbc864829ec9aaba7d7f08c520aad2da to your computer and use it in GitHub Desktop.
Save sam0x17/cbc864829ec9aaba7d7f08c520aad2da to your computer and use it in GitHub Desktop.
How to get rails' 1.month and 3.seconds etc working in raw ruby
gem 'active_support'
require 'active_support/core_ext'
puts 3.months
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment