For my ruby in rails application. i need to display the report of last
one year. so i decide to take the current date and subtract one then will
get the last year. And then take the datas from the mysql with that new
date..
is this correct logic?.... or can i get value from the MySQL, after done
the one year subtracted operation in MySQL......?


--
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/-/ievqg193-REJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedDec 12, '11 at 7:58a
activeDec 12, '11 at 7:58a
posts1
users1
websiterubyonrails.org
irc#RubyOnRails

1 user in discussion

Amvis: 1 post

People

Translate

site design / logo © 2023 Grokbase