config with rails