Skip to content

Instantly share code, notes, and snippets.

View tammersaleh's full-sized avatar
🚀
Orbiting?

Tammer Saleh tammersaleh

🚀
Orbiting?
View GitHub Profile
class Account < ActiveRecord::Base
has_many :users
has_many :account_admin_permissions
end
@account.users.admins
/*
As of version 1.1.2, Propane will load and execute the contents of
~Library/Application Support/Propane/unsupported/caveatPatchor.js
immediately following the execution of its own enhancer.js file.
You can use this mechanism to add your own customizations to Campfire
in Propane.
Below you'll find two customization examples.
describe "GET /agents.json" do
it_behaves_like "API controller", :params => { ... }, :environment => { ... }
end