little modification for rss2 import

This commit is contained in:
Harry Bomrah 2014-06-13 16:15:13 +08:00
parent 122cff5a92
commit 6624156d57
2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ class Album
field :cover_path #can refact
field :tag_names
field :uid, type: String
field :rss2_id, type: String
# has_and_belongs_to_many :tags, :class_name => "GalleryTag"
has_many :album_images, :autosave => true, :dependent => :destroy

View File

@ -7,6 +7,7 @@ class AlbumImage
field :title
field :description, localize: true
field :rss2_id, type: String
# has_and_belongs_to_many :tags, :class_name => "GalleryTag"