Skip to content

Instantly share code, notes, and snippets.

@murugan-r
murugan-r / 0-readme.md
Created October 2, 2012 07:57 — forked from burke/0-readme.md
ruby-1.9.3-p194 cumulative performance patch.

Patched ruby 1.9.3-p194 for 30% faster rails boot

Overview

This script installs a patched version of ruby 1.9.3-p194 with boot-time performance improvements (#66 and #68), and runtime performance improvements (#83 and #84). It also includes the new backported GC from ruby-trunk.

Many thanks to funny-falcon for the performance patches.

@murugan-r
murugan-r / add.js.erb
Created July 4, 2012 08:20 — forked from amardaxini/add.js.erb
redis i18n
<tr>
<td><%[email protected](".").drop(1) %></td>
<td><%= @value%></td>
</tr>
@murugan-r
murugan-r / gist:3046056
Created July 4, 2012 08:19 — forked from lunks/gist:953763
i18n issue
class Order < ActiveRecord::Base
has_many :order_items
validates_length_of :order_items, :minimum => 1, :message => :empty
accepts_nested_attributes_for :order_items
end
#en.yml
activerecord: