3
votes
0answers
339 views

squarespace opensource clone / features in ruby on rails?

Ive searched extensive but could not find anything that implements squarespace.com features only some blog posts on individual components like inline editing What I want to build is a very simplistic ...
2
votes
0answers
86 views

Render partial through link in form_for using jquery ajax

hie, I have used multistep form in my application I am giving link to render partial in my form_for tag. My html code is, <div class="carousel-inner"> <%= form_for @subscribe , ...
2
votes
0answers
390 views

Using acts_as_list and nested_form together in Rails 3.1.rc4 app

I originally posted this up as an issue on nested_form but not had any insight. The detail is here: https://github.com/ryanb/nested_form/issues/66 Recap: I have a slightly unusual requirement ...
2
votes
0answers
425 views

Rails 3: rescue_from for javascript requests

In my Rails 2.3.8 application I had a rescue_from code for exceptions, which are thrown during javascript actions: rescue_from ::Exception, :with => :show_js_errors ... def show_js_errors ...
1
vote
0answers
53 views

jQuery Mobile breaks Rails respond_to when using UJS remote links accept headers

I'm converting our Rails 3 web app to use jQuery mobile, and I'm having problems with "remote" links. I have the following link: = link_to "Text", foo_url, :method => :put, :remote => true ...
1
vote
0answers
74 views

Ajax redirect resulting no route matches with carmen

Hie, i am using carmen gem for country and state listing. my view code is, <div class=" control-group"> <%= f.label :country, :class => 'control-label' %> <div ...
1
vote
0answers
107 views

Rails sending AJAX response with a textarea

I am using the following form: <%= form_for(@document, :remote => true) do |f| %> <%= f.label :asset, "Document to Upload" %><br /> <%= f.file_field :asset, ...
1
vote
0answers
31 views

i18n is changing the output of Ajax call

I have a datepicker function that was working pefectly well until I internationalized my application. But now, it's not working anymore. Here is my Ajax function : $datepicker.change(function(){ ...
1
vote
0answers
1k views

Auto refresh <div> without reload entire page

I'm trying to update the content of "mydiv" without refreshing the entire index page. @mydata is given by mycontroller. I need to recalculate it every n seconds and pass it to "mydiv" With "link_to" ...
1
vote
0answers
246 views

Rails 3 Endless page, will_paginate with other AJAX on page

I am using twitter bootstrap and will_paginate. I have a laptop MVC with an index function which displays all of the laptops in the database. I also have a hidden form on the page which allows the ...
1
vote
0answers
179 views

Rails with Ajax. Getting data from a model to show

I am just starting out with Rails and Ajax and I am facing some problems integrating Ajax and Jquery. I have data which I want to display and update in my div using jQuery. I have written in Jquery ...
1
vote
0answers
248 views

rails 3 link_to :remote

I am somewhat new to RoR, and I am trying to use link_to to reload a portion of the page with div id "current_submission", with -for submission in @submissions =link_to submission.title, ...
1
vote
0answers
118 views

Rails 3 Ajax Cannot get newly created record to append at bottom of existing table

On my index page I return a table of query results using Ajax. I having successfully created a new record using Ajax too. My problem is trying to get that new record immediately appended to the ...
1
vote
0answers
101 views

Rails: ajax submit form to an action with nested resources

This is a part of the show view of the exercise model: <div id="smoke_screen" style="min-height:100px"> <% question = @exercise.random_question %> <b ...
1
vote
0answers
144 views

Auto Reload of partial using jquery and Ajax in Rails

I have an index view in my Rails 3 app that has 3 different partials to it. Each partial has different data that I would like to be updated without the end-user having to refresh the page. I've ...

1 2 3 4 5 17
15 30 50 per page