Sha256: d00c33fa521147c22ce03e5975594fdd172c489a4bc6ee5d4f40c595a9324310
Contents?: true
Size: 311 Bytes
Versions: 5
Compression:
Stored size: 311 Bytes
Contents
class Post < ActiveRecord::Base belongs_to :location belongs_to :author has_many :comments searchable :auto_index => false, :auto_remove => false do string :title text :body, :more_like_this => true location :location end scope :includes_location, -> { includes(:location) } end
Version data entries
5 entries across 5 versions & 1 rubygems