Sha256: d7384ee6bd331e281f770eb8cd7a90c75956a01f8a1cad2a46faf9c73baf0bb2
Contents?: true
Size: 700 Bytes
Versions: 4
Compression:
Stored size: 700 Bytes
Contents
require 'rubygems' require 'bundler/setup' $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) ENV["RAILS_ENV"] = "test" require 'rails/all' require 'mongoid' require 'mongo_mapper' require 'shoulda' require 'rails/test_help' require 'rails3-jquery-autocomplete' module Rails3JQueryAutocomplete class Application < Rails::Application end end Rails3JQueryAutocomplete::Application.routes.draw do match '/:controller(/:action(/:id))' end ActionController::Base.send :include, Rails3JQueryAutocomplete::Application.routes.url_helpers ActorsController = Class.new(ActionController::Base) ActorsController.autocomplete(:movie, :name)
Version data entries
4 entries across 4 versions & 1 rubygems