Sha256: a1d9fa13223ce4cd2ba5ae06fea0ac5ca08403414afca5dfdc3090bb2fb9ea2a

Contents?: true

Size: 316 Bytes

Versions: 1

Compression:

Stored size: 316 Bytes

Contents

module CouchRest
  module Mixins
    module WillPaginate
      module ProxyMethods

        def method_missing(m, *args, &block)
          if m.to_s =~ /^paginate_(.+)/ && @klass.respond_to?(m)
            @klass.send(m, *args)
          else
            super
          end
        end

      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
will_paginate_couchrest-0.2.0 lib/will_paginate_couchrest/proxy_methods.rb