Remove 'date = active_date' in models/service.rb. Just use active_date variable.