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.

Stephan Wehner's latest activity

Saturday, July 17 2010
5136 no need of ternary operation was updated in Ruby on Rails
  • Stephan Wehner
    Stephan Wehner commented at 6:08 PM

    Oh ok Neeraj, I guess I thought :leading_zeros was an internal option.

  • Stephan Wehner
    Stephan Wehner commented at 8:10 AM

    Short note: the variable leading_zeros will be false if option[:leading_zeros] == true

    Options are only used with {... :leading_zeros => false ... } so it's not...

Monday, March 22 2010
4247 [PATCH] Customising asset paths was updated in Ruby on Rails
  • Stephan Wehner
    Stephan Wehner commented at 3:35 AM

    I see. That makes sense.

    To me the comment describes what you're trying to accomplish, so maybe move it and the rewrite_asset_path method into the public sectio...

Sunday, March 21 2010
4247 [PATCH] Customising asset paths was updated in Ruby on Rails
Wednesday, September 30 2009
2707 dbconsole support password passing through /dev/fd/ was updated in Ruby on Rails
  • Stephan Wehner
    Stephan Wehner commented at 9:29 PM

    I believe it's good to make use of operating system features. I don't think I would judge the security gain as small.

    The change is involved mostly because it i...

Sunday, September 20 2009
2707 dbconsole support password passing through /dev/fd/ was updated in Ruby on Rails
  • Stephan Wehner
    Stephan Wehner commented at 5:18 AM

    The point of this ticket is that the implementation of dbconsole's -p option, in the mysql case, is not as safe as it could be.

    The idea of the -p option is tha...

Tuesday, June 02 2009
2019 Format two-digit years correctly was updated in Ruby on Rails
  • Stephan Wehner
    Stephan Wehner commented at 9:38 AM

    Is this not a input validation problem, as opposed to a parsing problem? Or a problem with how the date is collected (separate fields for month/day/year)

    Stepha...

Thursday, May 28 2009
2707 dbconsole support password passing through /dev/fd/ was updated in Ruby on Rails
  • Stephan Wehner
    Stephan Wehner commented at 3:58 PM

    Attaching patch after rebasing / smaller changes.

Tuesday, May 26 2009
2707 dbconsole support password passing through /dev/fd/ was updated in Ruby on Rails
1710 dbconsole fails when database_configuration_file is changed was updated in Ruby on Rails