design update

This commit is contained in:
Harry Bomrah committed 2012-08-23 01:36:55 +08:00
1 parent d6b24c6454
commit 94ee16ae01
7 files changed
+80 -4

No files matched your search

-3
View File
@@ -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
+1
View File
@@ -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