design update
This commit is contained in:
1 parent
17c4b9a1bf
commit
04877b9945
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
|
||||
@@ -26,6 +26,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