config file generator for rails