Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7823753
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T08:21:58+00:00 2026-06-02T08:21:58+00:00

I am using Rails 3.2.3 and deploying to Heroku’s Cedar Stack and I am

  • 0

I am using Rails 3.2.3 and deploying to Heroku’s Cedar Stack and I am having problems with my asset pipeline and compiling the jQuery UI files I need.

Specifically the problem manifests itself in two separate issues that I think are related:

1) in development my dropdown buttons do not work, but in production they do

2) in development my datepicker and sliders do not work, and they also do not work in production. However, if I call the javascript (<script src="/assets/jquery-ui.js" type="text/javascript"></script>) at the top of my view, the datepicker and sliders work in development but not in production

I have tried compiling the assets locally and also during slug compilation, but to no avail.

My application.js:

 //= require jquery
 //= require jquery_ujs
 //= require jquery-ui
 //= require bootstrap
 //= require_tree .

My Gemfile:

source 'https://rubygems.org'

gem 'rails', '3.2.3'
gem 'bootstrap-sass', '2.0.0'
gem 'bcrypt-ruby', '3.0.1'
gem 'faker', '1.0.1'
gem 'will_paginate', '3.0.3'
gem 'bootstrap-will_paginate', '0.0.5'
gem 'date_validator'
gem 'jquery_datepicker'

group :development, :test do
gem 'sqlite3', '1.3.5'
gem 'rspec-rails', '2.9.0'
gem 'annotate', '~> 2.4.1.beta'
end

group :assets do
gem 'sass-rails',   '3.2.4'
gem 'coffee-rails', '3.2.2'
gem 'uglifier', '1.2.3'
end

gem 'jquery-rails', '2.0.0'

group :test do
gem 'capybara', '1.1.2'
gem 'factory_girl_rails', '1.4.0'
end

group :production do
gem 'pg', '0.12.2'
end

My config/environments/development.rb

 # Do not compress assets
 config.assets.compress = false

 # Expands the lines which load the assets
 config.assets.debug = true

My config/environments/production.rb:

# Disable Rails's static asset server (Apache or nginx will already do this)
config.serve_static_assets = false

# Compress JavaScripts and CSS
config.assets.compress = true

# Don't fallback to assets pipeline if a precompiled asset is missed
config.assets.compile = false

# Generate digests for assets URLs
config.assets.digest = true

My layout application.html.erb:

  <%= javascript_include_tag "application" %>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T08:22:00+00:00Added an answer on June 2, 2026 at 8:22 am

    You don’t show us your code.
    But my guess is it may be a dom load issue.

    Try putting your instantiation inside a jQuery() call;

    Here’s an example right from the twitter-bootstrap-rails;

    jQuery(function($){
      $("a[rel=popover]").popover();
      $(".tooltip").tooltip();
      $("a[rel=tooltip]").tooltip();
    });
    

    The same should go for any jquery UI autocompleters

    jQuery(function($){
      $("input.search-autocomplete").autocomplete({
        source: "/search"
      });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We just deployed a Rails 3.1 app using the new asset pipeline. In Development
I'm running on Rails 3.2.2 and deploying on a Cedar stack. I still get
I am currently deploying a Rails application using Capistrano. Cap deploy:update_code usually works just
Using RAILS 2.2 Hello I am having an issue where my dates are being
I'm using rails, but doing all my Javascript unobtrusively using jQuery in application.js .
I'm deploying a Rails app on Heroku (for now) via git, and would also
Up until now I've been deploying Rails apps to our Apache/Passenger setup using a
I am looking at deploying a Clojure web app, and I remember using Heroku
My question is similar to this one Rails 3.2 Asset Pipeline with Passenger Endless
I'm deploying a Ruby on Rails and NodeJS application using Capistrano. The uploads folder

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.