Rails engine that uses ajax and chronic to parse date text_fields