With ActiveAdmin: couldn't find file 'chosen-jquery' with type 'application/javascript'
rhnorment opened this issue · 2 comments
rhnorment commented
Gemfile...
source 'https://rubygems.org'
ruby '2.2.3'
gem 'activeadmin', github: 'activeadmin'
gem 'bourbon', '~> 4.2.0'
gem 'chosen_rails'
gem 'coffee-rails', '~> 4.1.0'
gem 'delayed_job_active_record'
gem 'email_validator'
gem 'devise'
gem 'faker'
gem 'flutie'
gem 'font-awesome-sass'
gem 'high_voltage'
gem 'i18n-tasks'
gem 'jquery-rails'
gem 'jquery-turbolinks'
gem 'neat', '~>1.7.0'
gem 'newrelic_rpm', '>= 3.9.8'
gem 'rack-canonical-host'
gem 'rails', '4.2.4'
gem 'recipient_interceptor'
gem 'refills'
gem 'sass-rails', '~> 5.0'
gem 'spreadsheet'
gem 'title'
gem 'turbolinks'
gem 'uglifier'
active_admin.js.coffee...
//= require active_admin/base
//= require chosen-query
Any suggestions out there?
rhnorment commented
I changed
//= require chosen-query
to
//= require chosen.query
Why does this work? The file is clearly named 'chosen-query.' Am I looking in the wrong location?
rhnorment commented
Closed for my stupidity. Coffeescript file is different.