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.

There was a problem

You must be a member of this account.

Ben Marini's latest activity

Tuesday, June 15 2010
4653 before_validation callbacks being run AFTER validation [ActveModel 3.0.0.beta3] was updated in Ruby on Rails
  • Ben Marini
    Ben Marini commented at 4:30 PM

    @Valim, so this would be the proper way to do it? (These test pass on master):

        require "cases/helper"
    
        class ValidationCallbackTest < ActiveModel::Test...
Monday, June 14 2010
4653 before_validation callbacks being run AFTER validation [ActveModel 3.0.0.beta3] was updated in Ruby on Rails
  • Ben Marini
    Ben Marini commented at 4:06 AM

    @neeraj thanks for the explanation. I updated the test case i wrote to use your syntax. Unfortunately it doesn't seem to solve the original problem. Here's the ...

Sunday, June 13 2010
4653 before_validation callbacks being run AFTER validation [ActveModel 3.0.0.beta3] was updated in Ruby on Rails
  • Ben Marini
    Ben Marini commented at 11:03 PM

    @Matt I created a patch that applies to master to demonstrate the issue. It's just a rewrite of your spec. I'm pretty confused as to the right way to use the ne...

Monday, May 31 2010
4735 [PATCH] Fix parsing bug in http token authentication module was updated in Ruby on Rails
  • Ben Marini
    • Tag changed from token authentication, bug, rails3 to token authentication, bug, patch, rails3
    • Title changed from Bug in ActionController::HttpAuthentication::Token#token_and_options to [PATCH] Fix parsing bug in http token authentication module
    by Ben Marini at 5:16 PM

    Ok, the fix was way easier than I first realized :) Here's a patch that applies to master to fix the bug.

  • Ben Marini
    Ben Marini created the ticket at 8:23 AM

    ActionController::HttpAuthentication::Token#token_and_options incorrectly parses the the Authentication header.

    Given a header like this:

    Authentication: Toke...
Tuesday, April 27 2010
4444 Can no longer rescue_from ActionController::RoutingError was updated in Ruby on Rails
  • Ben Marini
    Ben Marini commented at 3:38 AM

    I verified this with a freshly generated rails app from the master branch. I haven't investigated too far, but at this point the best way I can see to do this i...

Sunday, February 07 2010
3882 rails server was updated in Ruby on Rails
  • Ben Marini
    Ben Marini commented at 1:33 AM

    It's more annoying than anything. Interestingly, I can use rackup instead of rails server and I get no error output.

    `rackup -p 3000`
    
  • Ben Marini
    Ben Marini commented at 12:49 AM

    The problem seems to stem from the fact that bundler requires 'rubygems/specification'. I can replicate the problem outside of rails too. Try this in irb:

    requ...
Saturday, February 06 2010
3882 rails server was updated in Ruby on Rails
  • Ben Marini
    Ben Marini commented at 10:26 PM

    Looks like this is an issue with rubygems 1.3.5 and ruby 1.9.1

    http://www.ruby-forum.com/topic/194832
    
  • Ben Marini
    Ben Marini commented at 10:13 PM

    I'm seeing the same issue. Using the rails command from inside a new rails 3 app, and I get ton of warning output. It's basically telling me all the gemspecs fo...