Flexible configuration for Rails applications