Archive for the ‘rails tricks’ Category

While we are using memcached to keep a lot of things available for our app, and now we switched to Rails 3 and for memcached we are using the faster Dalli Client, I was kind of interested about the marshalling performance of different methods.

For this performance test I have made a copy of a quite [...]

when I write views and templates sometimes it occurs that I want to use some code like
<% if c = @customer[:image] >;

<img src='...' />;

<
end %>

but obviously this code would look much more nice with short tags enabled, so I could use code like

if c = @customer[:image]

<img src='...' />

end
but [...]