Skip to content Skip to sidebar Skip to footer
Showing posts with the label Ruby On Rails 3

Javascript Not Loading Due To Net::err_content_length_mismatch

I've got an app that runs fine locally, but barfs in production. (Classic problem, right?) In … Read more Javascript Not Loading Due To Net::err_content_length_mismatch

Rails: Dynamic Select On Multistep Form Not Keeping Selected

I am working on a multistep form for an order placement process following Ryan Bates's Multiste… Read more Rails: Dynamic Select On Multistep Form Not Keeping Selected

How Would I Go About Recording Changes In A Large Text Field?

Let's say I want a user to write a story in 20 minutes. After the user is done I want to play b… Read more How Would I Go About Recording Changes In A Large Text Field?

Rendering Haml File In A Javascript Response With Rails

I am trying to render a haml file in a javascript response like so: $('# .preview .mail_conten… Read more Rendering Haml File In A Javascript Response With Rails

Back Button In Browser Not Working Properly After Using Pushstate (in Chrome)

I am using this type of line in an JS response if (history && history.pushState){ hist… Read more Back Button In Browser Not Working Properly After Using Pushstate (in Chrome)

Handling Jsonp In Rails 3 Controller

I want my controller action to handle jsonp requests from jquery $.getJSON. In my controller action… Read more Handling Jsonp In Rails 3 Controller

Backbone.js - Coffeescript Extends

I'm making chaining selects with backbone.js by this article http://blog.shinetech.com/2011/07/… Read more Backbone.js - Coffeescript Extends

Rendering A Background Using Bigvideo.js Within A Rails Application

I have the following implementation of bigvideo.js functioning perfectly outside of my Rails projec… Read more Rendering A Background Using Bigvideo.js Within A Rails Application