Add initial models and corresponding test files

This commit is contained in:
Martin Lensment 2014-06-16 17:21:01 +03:00
parent bca4470643
commit 542ea5101e
28 changed files with 548 additions and 8 deletions

3
app/models/right.rb Normal file
View file

@ -0,0 +1,3 @@
class Right < ActiveRecord::Base
has_and_belongs_to_many :roles
end