Commit 6444b5e0 authored by BAIRE Anthony's avatar BAIRE Anthony
Browse files

TODO

parent 0aa7a6aa
......@@ -8,6 +8,11 @@ class User < ActiveRecord::Base
# FIXME: destroy may fail if there are jobs running
has_many :jobs, dependent: :destroy
# FIXME: this is a bad idea to have the 'webapps' based on the jobs
# launched by the user (thought it could be useful, but with another
# name, eg: used_apps) the 'webapps' should resolve to the applications
# *owned* by the user.
has_many :webapps, :through => :jobs
has_many :quotas
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment