Skip to content

Instantly share code, notes, and snippets.

Tom tomfast

Block or report user

Report or block tomfast

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 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.