vendredi 8 mai 2015

Unable to extract Model Data Using created_at in rails 2 application

@versions = Version.find_all_by_created_at(2015-05-07)
@versions = []

datatype for created_at(datetime)

Please i want extract data by passing only date to a model .

Aucun commentaire:

Enregistrer un commentaire