design update
This commit is contained in:
1 parent
d6b24c6454
commit
94ee16ae01
7 files changed
+80
-4
No files matched your search
@@ -9,7 +9,4 @@ class Paper
|
||||
field :coauthors, default: "Allen, Shelly, Eric, Manson, Chris, Clara, Anna, Albee, Vincent, Devin, Chunchi, Ika, Jaoshua, Ray, Matt, Lin, Spen"
|
||||
field :created_at, type: Date
|
||||
belongs_to :journal
|
||||
|
||||
|
||||
|
||||
end
|
||||
@@ -25,6 +25,7 @@ class User
|
||||
has_many :journals, :autosave => true, :dependent => :destroy
|
||||
has_many :papers, :autosave => true, :dependent => :destroy
|
||||
|
||||
|
||||
belongs_to :role
|
||||
has_and_belongs_to_many :sub_roles
|
||||
accepts_nested_attributes_for :attribute_values, :allow_destroy => true
|
||||
|
||||
Reference in new issue
Block a user