Ruby on Rails
Thursday, February 2, 2012
date is not a class type. It could be Date. Do you mean that the
column type in the database is date or that it is a string containing
a date or what? What does it show for the column type in schema.rb?
What happens when you do bill_date.month as I suggested?
By the way please remember to include the relevant parts of the
previous messages in your reply otherwise it is difficult to follow
the thread (particularly for those who may find the thread later and
hope to learn from it). Also please insert your reply at appropriate
point in previous message rather than posting at the top of the new
mail. Thanks.
Colin
>
Sorry i forgot that, i will follow that way in next time....
Thank you
> Thank you
> vishnu
>
>
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/-/ZvskyJyT4bkJ.
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