Sha256: c687188aa8670cbda0ecec46b2c90c877f27ad8cedf265f9d6d1969d5956abb6

Contents?: true

Size: 443 Bytes

Versions: 2

Compression:

Stored size: 443 Bytes

Contents

require 'espresso'
require 'espresso/model'

module Espresso
  ActionView = View
  autoload :Resources, 'espresso/deprecated/resources'
  module Model
    module ClassMethods
      # @deprecated Use model_modifiers instead
      def model_attrs=(attrs)
        model_modifiers=attrs
      end

      def search_results(page = nil, query = {}, simple_query = nil)
        collection(:page => page, :search => query)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
espresso-framework-0.3.0 lib/espresso/deprecated.rb
espresso-0.2.1 lib/espresso/deprecated.rb