From 6952869a3f80b754edc5c6e2f361284ad7600bc1 Mon Sep 17 00:00:00 2001 From: joegatt Date: Sun, 2 Jun 2013 19:48:09 +0200 Subject: [PATCH] Adds published_city to attr_accessible. --- app/models/source.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/models/source.rb b/app/models/source.rb index 40358c50..9e2ec9d8 100644 --- a/app/models/source.rb +++ b/app/models/source.rb @@ -2,9 +2,9 @@ class Source < ActiveRecord::Base include SyncHelper - attr_accessible :title, :author, :editor, :introducer, :translator, :lang, :published_date, :pages, :isbn_10, - :isbn_13, :page_count, :google_books_id, :publisher, :library_thing_id, :open_library_id, - :tag, :dirty, :attempts, :notes + attr_accessible :title, :author, :editor, :introducer, :translator, :lang, :published_date, :published_city, :pages, + :isbn_10, :isbn_13, :page_count, :google_books_id, :publisher, :library_thing_id, :open_library_id, :tag, :dirty, + :attempts, :notes has_and_belongs_to_many :notes