fix oembed caches so data must be present
This commit is contained in:
parent
30b180949d
commit
9b05e80e3f
1 changed files with 1 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
class OEmbedCache < ActiveRecord::Base
|
||||
serialize :data
|
||||
attr_accessible :url
|
||||
validates :data, :presence => true
|
||||
|
||||
has_many :posts
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue