Skip to content

Instantly share code, notes, and snippets.

Jared Knipp jknipp

Block or report user

Report or block jknipp

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am jknipp on github.
  • I am jknipp (https://keybase.io/jknipp) on keybase.
  • I have a public key ASDTSErVi6HYVK4VBxZManPsfzc0ydBV4x0s5n-Gw37a9Ao

To claim this, I am signing this object:

View gist:937571
class Account < ActiveRecord::Base
set_primary_key "AccountId"
belongs_to :bank, :foreign_key => 'CompanyId'
scope :mcm_bank_and_account_number, lambda { |mcm_bank_id, acct|
joins(:bank).
where("bank.MCMBankNumber = ? AND account.AccountNumber = ?", mcm_bank_id, acct).merge(Bank.mcm_bank)
}
You can’t perform that action at this time.