The solution to managing assets in Rails