added code climate score
reduced bit complexity of FinanceRecordController#index