Ruby on Rails
Thursday, February 2, 2012
no, That is working... but i need like this
:bill_date => u.bill_date,
I want to take the day, month,year from this u.bill_date. can i get, if am using like this
:day_of_week => Time.month(u.bill_date)
...........?
-- 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/-/4gLXV5QAuxoJ.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment