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.

Steve Martocci's latest activity

Wednesday, April 08 2009
1875 Posting a multipart form with file data can break params assignment (in 2.3) was updated in Ruby on Rails
  • Steve Martocci
    Steve Martocci commented at 2:58 PM

    I don't have Rack 0.9.1 installed and this has been marked as resolved? Does that mean there is a fix in edge/rack?

Tuesday, April 07 2009
1875 Posting a multipart form with file data can break params assignment (in 2.3) was updated in Ruby on Rails
  • Steve Martocci
    Steve Martocci commented at 10:32 PM

    I'm still getting this but it is hard to reproduce, I have one safari browser that is getting the errors. I am on a frozen v2.3.2.1 and passenger 2.1.3. Here is...

Monday, October 20 2008
1219 new_record? not set when using joins was updated in Ruby on Rails
  • Steve Martocci
    Steve Martocci commented at 4:33 PM

    I noticed that too, it actually causes my change not to work....

    I overrode new_method? in the model I was doing joins on to just use this

    hack to fix active re...

Friday, October 17 2008
1219 new_record? not set when using joins was updated in Ruby on Rails
  • Steve Martocci
    Steve Martocci commented at 4:41 PM

    actually this is a better solution as the other one will return true on falses not just nils

    def new_record?

    (answer = super).nil? ? true : answer
    
    

    end

Wednesday, October 15 2008
1219 new_record? not set when using joins was created in Ruby on Rails
  • Steve Martocci
    Steve Martocci created the ticket at 5:14 PM

    I am using a right join to ensure that I always pull back a set of objects via an association even if they haven't been created yet. They have some fields fille...

Saturday, September 13 2008
1041 Mysql Adapter quoting bug when searching with BigDecimal was created in Ruby on Rails
  • Steve Martocci
    Steve Martocci created the ticket at 8:36 PM

    BigDecimals must be converted to strings but without quotes when being used in mysql querys in order to match results. The current implementation in mysql_adapt...