Hope it will make it works in rails 4