I hereby claim:
- I am willgorman on github.
- I am willgorman (https://keybase.io/willgorman) on keybase.
- I have a public key whose fingerprint is 537A 9DCD D989 2FBF 0B88 E3A1 A393 B25D 4100 E179
To claim this, I am signing this object:
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # All Vagrant configuration is done below. The "2" in Vagrant.configure | |
| # configures the configuration version (we support older styles for | |
| # backwards compatibility). Please don't change it unless you know what | |
| # you're doing. | |
| Vagrant.configure("2") do |config| | |
| # The most common configuration options are documented and commented below. | |
| # For a complete reference, please see the online documentation at |
| go list -m -json all | jq -r ".Path" | while read line | |
| do | |
| open dash-install://repo_name=Go%20Docsets\&entry_name=$line | |
| done |
I hereby claim:
To claim this, I am signing this object:
| module Sequel | |
| module Plugins | |
| module OracleSequence | |
| module InstanceMethods | |
| def before_create | |
| seq_name = model.dataset.opts[:sequence] | |
| unless self.class.simple_pk.nil? or seq_name.nil? | |
| method = "#{self.primary_key.to_s}=".to_sym | |
| self.send(method, DB.fetch("SELECT #{seq_name}.NEXTVAL FROM DUAL").first[:nextval]) | |
| end |