removed active_record require and extra empty line