> Any thoughts on this? I added a simple fix to ruote
> (http://tinyurl.com/6boobf) for Time#to_json and it works perfectly. I just
> can't help but think more and more people would use ActiveSupport outside of
> Rails, and especially in an environment where the JSON gem is present...

I'm a little hesitant because those arguments to to_json are just
ignored.  So you get 'compatibility' in the sense that you don't get
an ArgumentError, but it won't do what you think it will.

Silent misbehaviour here seems *worse* than failing fast?

-- 
Cheers

Koz

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to