Ok, I've done this, and it works for me mostly... Now I have to figure out why to_xml() is changing the date format to the big ugly version .
For example: >> errs = Errors.find(:all, :conditions => "errtype = 2") => [#<Errors blah blah blah, crtd: "2009-01-07 00:00:00" ...] >> errs.to_xml(:dasherize => false, :skip_types => true) => "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<errors>\n <error> \n <crtd>Wed Jan 07 00:00:00 -0600 2009</crtd> ...] So my problem is in to_xml... On Jan 9, 2:22 am, MaD <[email protected]> wrote: > you could try putting the following in your environment.rb: > > ActiveSupport::CoreExtensions::Date::Conversions::DATE_FORMATS.update > (:default => '%Y-%m-%d') --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

