Displaying 2 results from an estimated 2 matches for "visited_at".
Did you mean:
visitdat
2013 Jan 29
2
Count entries in postgresql grouped by date
Hi!
I have a table with visits with a visited_at: attribute which is a datetime
field. They seem to be stored as UTC. Now I want to count all visits each
day and return something like:
{
2013-01-01: 8,
2013-01-02: 4,
2013-01-07: 9,
...
}
So, I did it like this which kind of works...:
def self.total_grouped_by_day(start_date, end_date...
2006 Jan 08
3
Family Connection 1.1.2
...n just
their photo [Duane]
- Added ability to edit other users'' posts as admin [Duane]
- Added ability to remove user accounts as admin [Duane]
- Replaced require_resource_helper with bundled_resource plugin [Duane]
- Added lightbox support for viewing images [Duane]
- Added birthday and visited_at columns to users table [Duane]
- Removed unnecessary database connectivity check in application.rb
[Duane]
- Added ''last visited'' info to each user in address book [Duane]
- Improved English in user_news_link partial [Duane]
- Added birthday to signup form, edit form and address...