RailsCasts Pro episodes are now free!

Learn more or hide this

ybart's Profile

GitHub User: ybart

Comments by ybart

Avatar

The helper_method part does not work using Rails API's controller:

class ApplicationController < ActionController::API

This is because ActionController::API#helper_method is simply a stub that does nothing.

I just needed to include AbstractController::Helpers in my ApplicationController to make it work.

 include AbstractController::Helpers
Avatar

I've successfully built it for Lion with Xcode. I just needed to replace the Deployment Target from 10.8 to 10.7

Here is the link:
https://dl.dropbox.com/u/9189157/SublHandler.zip

Avatar

@rbates Sorry, I was meaning including the source code of application.js on this page. Of course, application.js should be included by rails application layout as well.

Avatar

Really great cast ! I was recently searching for this kind of solution without finding anything I was happy with. Thanks to make me discover Faye.

In the code, I think application.js should be included as well.