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.

Nate Wiger's latest activity

Wednesday, April 15 2009
2497 Rack in Rails 2.3.2 throws fatal error with small uploads was created in Ruby on Rails
  • Nate Wiger
    Nate Wiger created the ticket at 12:38 AM

    We have found a specific situation with binary multipart uploads causing Rack with Rails 2.3.2 to throw a fatal error.

    The specific files we have tested shows t...

Thursday, March 12 2009
2222 ActiveRecord not using bind vars for association loading? was created in Ruby on Rails
  • Nate Wiger
    Nate Wiger created the ticket at 5:39 PM

    For the lazy loading of associations, AR generates SQL something like this:

    select * from posts where posts.user_id in (1,4,8,12,13,16)
    
    

    However, according to...

Friday, March 06 2009
2147 Add :from to has_many, belongs_to, etc was created in Ruby on Rails
  • Nate Wiger
    Nate Wiger created the ticket at 2:25 AM

    Currently, we have the need for the following in our app:

    class Game < ActiveRecord::Base
      has_many :summarized_game_players, :from => 'v_game_player_statuses...
Thursday, February 19 2009
2023 form_for builder not passed to fields_for in nested forms was updated in Ruby on Rails
  • Nate Wiger
    • Tag set to 2.3, edge, fields_for, form_for, form_helper, patch
    by Nate Wiger at 9:03 PM

    Ok, easiest patch ever. Against trunk.

  • Nate Wiger
    Nate Wiger created the ticket at 8:56 PM

    In Rails 2.3, the nested forms support does not pass the builder to any nested fields_for calls. For example, if you say:

    <% form_for(@forum_topic, :builder =>...
Wednesday, February 18 2009
2001 Rails 2.3 does not obey config.action_controller.session_store was created in Ruby on Rails
  • Nate Wiger
    Nate Wiger created the ticket at 12:08 AM

    Rails 2.3 (edge) does not obey config.action_controller.session_store. If you set:

    config.action_controller.session_store = :sql_session_store
    
    

    Rails does not...

Saturday, February 14 2009
1958 Edge rails sessions not getting stored to database was updated in Ruby on Rails
  • Nate Wiger
    Nate Wiger commented at 4:14 PM

    By the way, the oddity is that I would think setting:

     config.action_controller.session_store = :sql_session_store
     SqlSessionStore.session_class = OracleSessi...
  • Nate Wiger
    Nate Wiger commented at 6:27 AM

    FYI I pushed my (unstable) Rack session mods to my git fork:

    git://github.com/nateware/sql_session_store.git

  • Nate Wiger
    Nate Wiger commented at 1:26 AM

    Thanks for the pointer, but Josh, I'm stumped. I tried following that class and rewrote SqlSessionStore as follows:

    class SqlSessionStore < ActionController::Se...

Friday, February 13 2009
1958 Edge rails sessions not getting stored to database was updated in Ruby on Rails
  • Nate Wiger
    Nate Wiger commented at 3:06 AM

    Josh, thanks for the quick reply. I have a git fork of it, as I suspected as much. Any pointers so I can make the changes? That way I can push it so when 2.3 co...