ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> ruby-rails
ruby-rails
[Rails] slicing and dicing timestamps by month, week, day, etc
by Chris other posts by this author
Feb 11 2006 4:42PM messages near this date
Re: [Rails] Re: [ANN] form_remote_upload plugin | [Rails] Setting html breaks when using textile (redcloth)
I'm trying to finish up a comp lab sign-in app in RoR that includes a db 
table logging each visit with a timestamp. I want to be able to loop 
through the visits table and get a weekly or monthly array and print a 
table of the last four weeks listing a count for the number of visits 
each day. I've got it working alright but it's pretty ugly...overcoded.

Does anyone know of any similar open source code out there I could get 
some ideas from??

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Rails mailing list
Rails@[...].org
http://lists.rubyonrails.org/mailman/listinfo/rails

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved