2
votes
0answers
21 views

Sprockets::EncodingError in javascript files in Ruby on Rails3.2

I have a Ruby On Rails(Ruby 1.9; Rails 3.2.13) application. I am trying to create charts using Highcharts. But i am getting an error on browser as Sprockets::EncodingError in Product#index ...
0
votes
0answers
23 views

formtastic errors with remote true

When i use :remote => true formtastic does not autoclear the form after successful submission also if i use a remote form for updating the data as shown in the following code , the form is always ...
1
vote
1answer
21 views

Can't Edit Or Delete Javascript in Rails

I'm having a really weird problem with Rails 3.2. None of the edits I make to 'app/assets/javascripts' has any effect on my app. I even completely removed all files from this directory and the scripts ...
0
votes
0answers
16 views

Carrierwave remote url and choose file validation

If a user chooses a file (photo) and as well as type in a URL for the :remote_image_url I wanted to know how best to validate this scenario or handle this experience? I'm using fileupload js from ...
0
votes
0answers
27 views

My coffeescript for jquery-ui-rails is not working

I am using jquery-ui-rails gem package for datepicker in my rails. but it isn't working. Here is my Gemfile group :assets do gem 'sass-rails', '~> 3.2.3' gem 'coffee-rails', '~> ...
0
votes
1answer
32 views

call a controller method from javascript ruby on rails

I'm coding a scrabble application and I want to call an update method when the player drops a tile so I change the position in the database function update_position(ev, posx, posy) { new ...
0
votes
0answers
60 views

Rails 3.2: Kaminari pagination, next and previous links don't work with ajax

I used kaminari to apply pagination to a list of items. Basically, the items are books and I would like to load each page using ajax. I have a model book and partial for books, _books.html.erb, ...
0
votes
1answer
40 views

Hyperlink in ruby on rails not redirecting

I have a tab controller that contains two tabs.while clicking first tab(tab1) it will show a form field.I have a hyperlink in another page. what i want is when clicking the hyperlink it will show the ...
0
votes
0answers
141 views

Rails: AJAX not working with form Create Action

This is a simple grocery list app. Left column div is a list of lists. Items for a particular list are displayed in the right column div. Here's the process: A user clicks on one of the lists, which ...
0
votes
1answer
56 views

ActionView::MissingTemplate - AJAX related error

The left column div is a list of lists. I'm trying to use AJAX to add a new list. I'm following the screencast http://railscasts.com/episodes/136-jquery-ajax-revised but I am getting an error. It ...
0
votes
0answers
44 views

Dynamic Jquery multi-select

Am really new to Ruby on rails and am stuck with this for quiet a few days now. Ok the task that i've given is to generate a dynamic form that loads districts based on the states selection. (This I ...
0
votes
1answer
33 views

Alternative to Eco templates with multiline [closed]

I used Eco templates for some time, but I don't like at all. I have searched some alternatives in Google, but I don't get useful information. I am looking for templates with this features: ...
0
votes
0answers
169 views

Zoom in a dynamic country map on d3.js doesn't work

I had been trying to do a zoom on a state of a specific map on d3.js, the problem is that, even using: AlbersUSA, Albers, Mercator or a rectangule svg component; when I click London on UK map (for ...
0
votes
1answer
49 views

Multiple HighCharts on different pages

I have a coffeescript: chart = undefined $ -> chart = new Highcharts.Chart( chart: renderTo: "sales " type: "line" ...... chart1 = undefined $ -> chart1 = new Highcharts.Chart( ...
0
votes
1answer
38 views

Displaying multiple form_tags on a single page via partial

My app has a partial that get rendered for every meal object that belongs to a user,, effectively listing out the meals. Each meal has some foods listed underneath that. I have a form_tag and ...

1 2 3 4 5 7
15 30 50 per page