app/models/effective/page.rb in effective_pages-3.7.11 vs app/models/effective/page.rb in effective_pages-3.8.0

- old
+ new

@@ -1,7 +1,9 @@ module Effective class Page < ActiveRecord::Base + self.table_name = (EffectivePages.pages_table_name || :pages).to_s + if defined?(PgSearch) include PgSearch::Model multisearchable against: [:body] end @@ -22,11 +24,9 @@ acts_as_slugged acts_as_tagged has_many_rich_texts log_changes if respond_to?(:log_changes) - - self.table_name = EffectivePages.pages_table_name.to_s effective_resource do title :string meta_description :string