Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Juan Pemberthy's Profile

GitHub User: jpemberthy

Site: jpemberthy.github.com

Comments by Juan Pemberthy

Avatar

Ryan, thanks so much for recording this episode. Last week I worked in something similar. Just one thing, I would pass the version as a mime type parameter. Something like:

curl -H "Accept: vnd.myapp+json; version=2"

Here's my implementation.

Avatar

Thanks Ryan!

3.2 Tip. You should replace

if template.locals.include? :mustache

with

if template.locals.include? 'mustache'

Avatar

@Benoit It should work as long as you keep your faye instance running in a different server.

Avatar

The only bad thing I've found in CarrierWave is that it doesn't have some built-in validations, e.g upload size =>

http://stackoverflow.com/questions/4753066/validate-size-of-upload-using-carrierwave