Sha256: 3d49418bc62297d9099f984e0362e7eabee0e6664517c74f634082f6d40d2861
Contents?: true
Size: 283 Bytes
Versions: 37
Compression:
Stored size: 283 Bytes
Contents
require 'texticle/rails' module ActiveadminSelleoCms class Search < ActiveRecord::Base extend Texticle belongs_to :searchable, polymorphic: true scope :current_locale, -> { where(locale: I18n.locale) } scope :published, -> { where(is_published: true) } end end
Version data entries
37 entries across 37 versions & 1 rubygems