Sha256: decca1fd613d472dec01789d18cc11412c50c611161dc9d8e6785becf6b3e017
Contents?: true
Size: 285 Bytes
Versions: 13
Compression:
Stored size: 285 Bytes
Contents
class PostWithDefaultScope < ActiveRecord::Base def self.table_name 'posts' end attr_accessible :title, :type, :location_id, :body, :blog def self.default_scope order(:title) end searchable :auto_index => false, :auto_remove => false do string :title end end
Version data entries
13 entries across 13 versions & 2 rubygems