Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

sbu's Profile

GitHub User: sbu

Comments by

Avatar

Nice. Any idea on how to deploy with Capistrano? I didn't find recipes.
Many thanks in advance.

Avatar

Hi Ryan, nice episode.
Is it possible to speed up APIs? In episode #348 you described The Rails API gem and, if I got the concept, many rails features aren't loaded in order to have faster APIs. Is it possible in some way to exclude libraries only for controllers related to APIs?

Thanks in advance.

Avatar

Hi guys, nice episode.
Ryan, I think that the following code could help handling validation errors.

ruby
<%= f.hidden_field :_destroy, :value => f.object._destroy %>
javascript
$("input[type=hidden][id$='_destroy'][value='true']").closest("ITEM SELECTOR").hide();

What do you think?

Thanks,
Mauro