Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Mike (at coverallcrew)'s latest activity

Friday, February 11 2011
6077 ActiveSupport::JSON.encode fails for Struct types was updated in Ruby on Rails
  • Mike (at coverallcrew)
    Mike (at coverallcrew) commented at 8:28 PM

    This is still failing for me with Rails 3.0.4

    To replicate, try using Mongoid or MongoMapper with anything higher than Rails 3.0.1

Friday, July 23 2010
4152 ActiveModel::Observer and ActiveRecord... was updated in Ruby on Rails
  • Mike (at coverallcrew)
    Mike (at coverallcrew) commented at 8:33 PM

    Can we reopen this to take a look. This still seems like an issue.

Tuesday, July 06 2010
2289 _method=put ignored for xhr and xml requests was updated in Ruby on Rails
  • Mike (at coverallcrew)
    Mike (at coverallcrew) commented at 11:21 PM

    Neeraj,

    Those work for html requests, but if you try a JSON request _method=PUT param will fail. Although, sending the header HTTP_X_HTTP_METHOD_OVERRIDE=put do...

Monday, May 10 2010
4527 number_to_currency(101.00) returns $110 was updated in Ruby on Rails
  • Mike (at coverallcrew)
    Mike (at coverallcrew) commented at 5:40 PM

    Hi Kim,

    Yeah, it looks like BigDecimal is doing something funky. I have the same version and patchlevel and same result as you.

Tuesday, May 04 2010
4527 number_to_currency(101.00) returns $110 was updated in Ruby on Rails
Monday, May 03 2010
4527 number_to_currency(101.00) returns $110 was created in Ruby on Rails
Thursday, April 15 2010
4405 fields with errors do not get wrapped in fieldWithErrors was updated in Ruby on Rails
  • Mike (at coverallcrew)
    Mike (at coverallcrew) commented at 7:49 PM

    For what it's worth here is the patch with the Haml "fix". I have a monkey patch in my code that does this. It seems that Haml is what needs fixin' Rails 3 work...

  • Mike (at coverallcrew)
    • Tag changed from activemodel, label to activemodel, haml, label
    by Mike (at coverallcrew) at 6:39 PM

    I'm may be barking up the wrong tree here...

    This error only seems to happen when HAML is in the picture. The reason I thought ActiveRecord was unaffected is be...