andrewclink

Results 6 issues of andrewclink

This PR allows one to pass an explicit Postgres constraint name to `upsert_keys`: ```ruby class MyClass < ActiveRecord::Base upsert_keys constraint: 'my_constraint' end ``` This generates SQL like ```SQL INSERT INTO...

enhancement

This PR adds `exclude:` to `upsert_options` to allow one to leave certain attributes alone during an upsert. The use case is when a column is defined as ```NOT NULL DEFAULT...

When upserting a record in a database column is not nullable and has a default value, ActiveRecord::Upsert attemps to insert a nil value. This raises an exception: PG::NotNullViolation: ERROR: null...

I didn't want to have to keep passing options to the component every time it was used, so I made a few small changes. `npm run-script build` wanted webpack-cli in...

This patch moves $APP_CONFIG into an object at SiriProxy.config. It also creates a new command +genconfig+ that creates the appropriate configuration directory and copies +config.example.y+ into it. This lays the...

I need to use an auth code grant in my application. I can generate a auth code ok and pass that back, but when the client attempts to obtain a...

help wanted