app/models/miniblog/post.rb in miniblog-1.0.1 vs app/models/miniblog/post.rb in miniblog-1.0.2

- old
+ new

@@ -1,9 +1,10 @@ module Miniblog class Post < ActiveRecord::Base belongs_to :author, :class_name => Miniblog.author_user_class_name belongs_to :publisher, :class_name => Miniblog.publisher_user_class_name has_many :assets + accepts_nested_attributes_for :assets delegate :name, to: :author, prefix: true, allow_nil: true delegate :email, to: :author, prefix: true, allow_nil: true delegate :gravatar_url, to: :author