Skip to content

Instantly share code, notes, and snippets.

Tom tomfast

View GitHub Profile
View gist:476080
def new
@accessory = Accessory.new({ :client_id => params[:client_id] })
# b/c an accessory can be nested under client or lifting_device
@parent = find_parent
@users = (User.client_users @client.id).client_user_roles
end
def create
@parent = find_parent
You can’t perform that action at this time.