Sha256: a85bc9d7f5955671d1b22165120fc7217f81115877ace55c5d0dd2ad4ba44137
Contents?: true
Size: 718 Bytes
Versions: 5
Compression:
Stored size: 718 Bytes
Contents
require 'test/unit' require 'rubygems' gem 'rails', '>=3.0.0.rc' $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 'shoulda' require 'redgreen' 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
5 entries across 5 versions & 1 rubygems