summaryrefslogtreecommitdiff
path: root/app/models/gui_function_membership.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/gui_function_membership.rb')
-rw-r--r--app/models/gui_function_membership.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/models/gui_function_membership.rb b/app/models/gui_function_membership.rb
new file mode 100644
index 0000000..d2bc7cd
--- /dev/null
+++ b/app/models/gui_function_membership.rb
@@ -0,0 +1,7 @@
+class GuiFunctionMembership < ActiveRecord::Base
+ belongs_to :gui_function
+ belongs_to :user_group
+
+ validates_associated :gui_function
+ validates_associated :user_group
+end