diff --git a/app/models/book.rb b/app/models/book.rb index e3acc54..9cdd445 100644 --- a/app/models/book.rb +++ b/app/models/book.rb @@ -20,6 +20,8 @@ class Book field :publication_date, type: DateTime field :url, type: String field :note, type: String + field :rss2_id, type: String + field :co_authors, type: String paginates_per 10 diff --git a/app/models/book_author_type.rb b/app/models/book_author_type.rb index 5086709..f1bc363 100644 --- a/app/models/book_author_type.rb +++ b/app/models/book_author_type.rb @@ -4,7 +4,6 @@ class BookAuthorType include Mongoid::Attributes::Dynamic include OrbitCoreLib::ObjectDisable - field :key, type: String field :title, type: String, localize: true has_and_belongs_to_many :books diff --git a/app/models/book_type.rb b/app/models/book_type.rb index 08f7541..78bb90c 100644 --- a/app/models/book_type.rb +++ b/app/models/book_type.rb @@ -4,7 +4,6 @@ class BookType include Mongoid::Attributes::Dynamic include OrbitCoreLib::ObjectDisable - field :key, type: String field :title, type: String, localize: true has_many :books diff --git a/app/views/admin/books/_author_type_qe.html.erb b/app/views/admin/books/_author_type_qe.html.erb index d4f3eec..97f5463 100644 --- a/app/views/admin/books/_author_type_qe.html.erb +++ b/app/views/admin/books/_author_type_qe.html.erb @@ -6,12 +6,6 @@