Recent Posts

Rubymine on OSX memory issues

less than 1 minute read

I found this only today, you should run Rubymine as 32 bit process.It works much faster and consume half the memory.To set this got to the Applicaitons folde...

Get the user locale from http headers

less than 1 minute read

If you want to provide default localization support for guest user in your website yo can locate their browser locale by the following code:<pre style="ba...

Overriding default id in mongoid

less than 1 minute read

This is an easy one, just want to make sure it’s clear.Add the following field to your model:<pre style="background-color: #2b2b2b; border-color: #000000;...