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.

Wesley Moxam's latest activity

Thursday, February 04 2010
3193 Rails 2.3.4, json gem : to_json issue was updated in Ruby on Rails
  • Wesley Moxam
    • Tag changed from 2.3.4, to_json to 2.3.4, to_json
    by Wesley Moxam at 6:00 AM

    I have the same problem.

    Removing the json gem dependancy from environment.rb fixes the problem. Unfortunately that's not feasible for me since I am using other...

Thursday, October 29 2009
3440 Callbacks not being called with validations present was updated in Ruby on Rails
Sunday, August 09 2009
test_eager_association_loading_with_belongs_to_and_limit_non_selected_order_by.diff was uploaded by Wesley Moxam at 1:44 AM to #2493, Ruby on Rails
2493 Eager Loading With :limit Returns Wrong Result Set (MySQL) was updated in Ruby on Rails
  • Wesley Moxam
    Wesley Moxam commented at 1:41 AM

    I've attached railsbob's example as a test

Saturday, August 08 2009
2493 Eager Loading With :limit Returns Wrong Result Set (MySQL) was updated in Ruby on Rails
  • Wesley Moxam
    Wesley Moxam commented at 3:36 AM

    Ok, I had that backwards. I've attached a corrected patch that fails on Mysql & Sqlite3. It passes on PostgresSQL.

  • Wesley Moxam
    Wesley Moxam commented at 1:58 AM

    Tested on 2-3-stable:

    
    def test_eager_association_loading_with_belongs_to_and_limit_non_selected_order_by
      comments = Comment.find(:all, :include => :post, :l...
Friday, August 07 2009
2071 number_to_precision rounding error was updated in Ruby on Rails
  • Wesley Moxam
    Wesley Moxam commented at 10:53 PM

    I've attached a patch containing a test and a fix.

Tuesday, October 07 2008
1011 Re-add to_xml to ActiveResource was updated in Ruby on Rails
Thursday, September 18 2008
1067 View Helper Does Not Render In View Template was updated in Ruby on Rails
811 Redirect Error After Model Creation was updated in Ruby on Rails
  • Wesley Moxam
    • Tag changed from activerecord, bug to activerecord, bug
    by Wesley Moxam at 3:15 PM

    You only mapped the root url to a controller. You need to map the person resource as well.

    map.resources :people

    This should fix your problems.