typo: should be 'DateTime.civil_from_format' and not 'DateTime.civil_from_fromat'


See here:  http://apidock.com/rails/DateTime/civil_from_format/class