# File lib/action_controller/pagination.rb, line 136 def paginate(collection_id, options={}) Pagination.validate_options!(collection_id, options, false) module_eval do before_filter :create_paginators_and_retrieve_collections OPTIONS[self] ||= Hash.new OPTIONS[self][collection_id] = options end end