Re indent
Fix Rails 3 compat
Re indent
Use configuration lib to get default values