class Image < ActiveRecord::Base

Image are set by the user as header images. Not to be mixed with images in the body of a post which are just HTML element inserted in the post's body.

Instance methods

  1. post ()
    Returns the post to which this image belongs to.