You said that you have a time object but that it holds a "string".  If 
you are updating your mysql db with a string format of time and you 
specify the column as a string you can return it as a string and format 
it anyway you want using gsub.

In either case, you can convert anything returned from mysql using gsub.

The first question you should ask yourself is what type of column do I 
have in my mysql db?

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to