amvis wrote in post #1043961:
My database(PostgreSQL) have some amount of data, so i need to retrieve
the
data for current date only.But my doubt is how to compare the today date
with created_at field. Now am trying so many ways to find that.
Is this correct way * where created_at BETWEEN
one query got it from guides.rubyonrails.org
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/9P-2Rz9ZWzoJ.
To post to this group, send email to
Thanks..
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/AghPe-3qIR8J.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
3 matches
Mail list logo