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.

Nick M's latest activity

Wednesday, February 09 2011
6392 [patch] ActiveResource doesn't support file uploads/attachments was created in Ruby on Rails
  • Nick M
    Nick M created the ticket at 5:26 AM

    Problem

    ActiveResource doesn't currently support file objects within an instance. If you try and save an ActiveResource instance that contains a file attachment...

Friday, January 15 2010
1533 Preloading more than 1000 associated records causes ActiveRecord::StatementIn... was updated in Ruby on Rails
  • Nick M
    Nick M commented at 9:24 PM

    Oops, here's the simpler monkey patch that can be dropped in config/initializers

  • Nick M
    • Tag changed from activerecord, associations, bugmash, oracle, preload, preload_associaitons, sql to activerecord, associations, bugmash, ora-01795, oracle, preload, preload_associaitons, sql
    by Nick M at 9:20 PM

    From what I can tell, it's not possible to change this limit within Oracle. I also don't think that it's possible for the oracle adapter to cleanly fix this pro...

Monday, September 28 2009
3243 [PATCH] to_xml doesn't support nested structures and other inconstancies was updated in Ruby on Rails
  • Nick M
    Nick M commented at 1:54 AM

    I think this updated patch should apply to master again. Let me know if there are still problems with it.

    I can bring this same functionality back to 2-3-stable...

Tuesday, September 22 2009
3243 [PATCH] to_xml doesn't support nested structures and other inconstancies was created in Ruby on Rails
  • Nick M
    Nick M created the ticket at 5:40 AM

    I've ran into a few problems using to_xml.

    • On an ActiveRecord model, calling to_xml(:methods => :custom_method) where custom_method returns a hash, the hash is...
Tuesday, April 07 2009
2371 Default scope with :conditions => "a string" was updated in Ruby on Rails
  • Nick M
    Nick M commented at 11:12 PM

    This same patch also fixes an "undefined method merge'" error when trying to access a has_many relationship where the primary_key is specified and the associate...