lib/pose/activerecord_base_additions.rb
def posify *source_methods, &block
      include ModelClassAdditions

      self.pose_content = proc do
        text_chunks = source_methods.map { |source| send(source) }
        text_chunks << instance_eval(&block) if block
        text_chunks.reject(&:blank?).join(' ')
      end
    end
def posify *source_methods, &block
      include ModelClassAdditions

      self.pose_content = proc do
        text_chunks = source_methods.map { |source| send(source) }
        text_chunks << instance_eval(&block) if block
        text_chunks.reject(&:blank?).join(' ')
      end
    end
Defines the searchable content in ActiveRecord objects.