class Checkin < ActiveRecord::Base
  belongs_to :user
  belongs_to :coupon

  has_attached_file :image, styles: { medium: "300x300>", thumb: "100x100>" }, default_url: "/images/:style/missing.png"
  validates_attachment_content_type :image, content_type: ['application/octet-stream', 'image/jpeg']
end
