Skip to content

Instantly share code, notes, and snippets.

@grooves
Created December 4, 2012 05:29
Show Gist options
  • Save grooves/4200957 to your computer and use it in GitHub Desktop.
Save grooves/4200957 to your computer and use it in GitHub Desktop.
Question 3
# coding: utf-8
class CompanyUser < ActiveRecord::Base
attr_accessible :user_id, :company_id, :position
attr_accessible :user_id, :company_id, :position, :is_admin, as: :admin
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment