RailsCasts Pro episodes are now free!

Learn more or hide this

Novikov Andrey's Profile

GitHub User: Envek

Site: http://envek.name

Comments by Novikov Andrey


There should be noted, that this gem isn't aware of I18n. Because of this you should always write something like

<% cache [I18n.locale, @post] do %>
  <%= t(:post_created_at) %> <%= @post.created_at %>
<% end %>

in multilingual applications or write a helper for this. And there is no plans to support I18n in future. More info.