I've tried numerous methods and followed Ryan Bates' guide but no matter what I do I still get undefined.  application.html.erb  <body>  <%= content_tag :div, id: 'trackers', data: {trackers: User.count} do %>  <% end %...
I'm using ckeditor in my rails projec and I have a problem with image uploading. I don't want everything that ckeditor have, that I wrote some simple config.js for it:  CKEDITOR.editorConfig = (config) ->   config.language = 'pl'...
I'm trying to do a real-time search in a Rails 4.0.1 application. I used the Railscasts #240 tutorial, but I am not getting the same results as the cast. It seems that my only issue is with the AJAX script, but I don't know why or how.  app/v...
I'm trying to get a javascript item displaying on Heroku Rails 4 applicarion. On my local development machine, everything is running perfectly. Can't get it to work on Heroku.  In my application.html.erb file I have added:  <%= javascript_...
I am using Ruby on Rails 4.1 and I would like to know if it is possible to make a :remote link to require HTML data as response. That is, I have the following code  link_to "Title", url, :remote => true   and when I click the link then, on...
I'm using Rails 4. I have a javascript file, app/assets/javascripts/exotic_fonts.js, which adds some javascript functionality to fonts. When I load the homepage this javascript file is automatically loaded on the homepage, however it's not lo...
I have strange error that appears only in CI environment. This error does not appear in develpment, production or even local test environments.  ActionController::RoutingError: No route matches [GET] "/fonts/bootstrap/glyphicons-halflings-regular...
I'm using the tinymce-rails gem which uses TinyMCE 4 and I'm loading the link plugin and all this is initiated after/in a colorbox popup.  TinyMCE editor is working perfectly but the link button brings up a dialog to add/edit a link, but none...
I am using casper test cases with a rails application, for running the test case I am using following command.  result = `cd #{Rails.root.join}/casper && casperjs test #{params[:file]}.js`   The above mentioned code is working fine on develop...
I'm using rails 4 with foundation 5 and I'm having trouble getting javascript to work. Foundation's navbar menu doesn't drop down in mobile and I'm having trouble getting the jQuery datepicker to work. After a bit of searching on...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.