Recent Posts

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;...

Nice post about cyber war

less than 1 minute read

Popular Science: The War Of Zeros And Ones.