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.

Matthew Moore's latest activity

Tuesday, August 19 2008
862 ActiveResource Generates Wrong XML for multi_parameter_attributes was updated in Ruby on Rails
  • Matthew Moore
    • Title changed from multi_parameter_attributes to ActiveResource Generates Wrong XML for multi_parameter_attributes
    • Tag set to activeresource, bug
    by Matthew Moore at 11:19 PM

    Let's say you have an ActiveResource, Event, with a datetime field called "starts".

    You want to be able to initialize or update event with a multiple parameter...

  • Matthew Moore
    Matthew Moore created the ticket at 11:13 PM
Wednesday, August 06 2008
365 ActiveResource#attributes= Clobbers All Values was updated in Ruby on Rails
  • Matthew Moore
    Matthew Moore commented at 11:10 PM

    What if you don't want to modify the record remotely, just yet?

    E.g. do the following... This is pretty standard controller code, for an ActiveRecord, i would ...

Saturday, June 07 2008
365 ActiveResource#attributes= Clobbers All Values was created in Ruby on Rails
  • Matthew Moore
    Matthew Moore created the ticket at 6:35 PM

    Although I'm not entirely sure why from looking at the source, but when I call myresource.attributes = { :attribute => 'value' }, all other attributes disappea...

Friday, June 06 2008
350 Allow calls to instantiate_record in ActiveResource for Custom Actions was created in Ruby on Rails
  • Matthew Moore
    Matthew Moore created the ticket at 12:48 AM

    Right now, to consume custom actions, you have to call .get(:custom_action). This returns a hash, as opposed to a record like .find does.

    For my purposes, I ...

Thursday, May 01 2008
81 Association IDs carry over to associated model was created in Ruby on Rails
  • Matthew Moore
    Matthew Moore created the ticket at 5:21 PM

    I've had big problems with this bug in 2.0.2 & 2.0.3.

    In Rails Edge (2.0.3) and 2.0.2, I'm having problems with has_many associations where there are collidin...

Wednesday, April 30 2008
69 UrlEncodedPairParser creates wrong params hash with nested attributes in arrays was created in Ruby on Rails
  • Matthew Moore
    Matthew Moore created the ticket at 7:25 PM

    In edge rails, sending in request attributes with the following:

    &email[to_new_contacts][][contact_attributes][first_name]=first

    &email[to_new_contacts][][co...