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.

Steven Parkes's latest activity

Friday, October 08 2010
5750 request.ssl? should reflect rack.url_scheme was updated in Ruby on Rails
  • Steven Parkes
    Steven Parkes commented at 2:18 PM

    What's the rack fix? Request#ssl? looking at env["rack.url_scheme"] instead of env["HTTPS"] and env["HTTP_X_FORWARDED_PROTO"]?

    Now that I'm a little more awake,...

  • Steven Parkes
    Steven Parkes commented at 1:59 PM

    Thanks, José. I suggested the patch for Thin based on ... something I saw? Can't remember where I first saw rack.url_scheme. Might have been the rack tests. May...

Friday, October 01 2010
5750 request.ssl? should reflect rack.url_scheme was created in Ruby on Rails
  • Steven Parkes
    Steven Parkes created the ticket at 10:38 PM

    Thin will set env["rack.url_scheme"] = "https" for SSL connections but the request object in Rails doesn't reflect this. It should, shouldn't it?

Monday, September 13 2010
4690 Mongrel doesn't work with rails 2.3.8 was updated in Ruby on Rails
  • Steven Parkes
    Steven Parkes commented at 11:53 PM

    FWIW, this effects 2.3.9, too, but the mongrel.rb doesn't quite fit with 2.3.9 ...

Monday, April 20 2009
2524 duplicate SQL insert on has_many through was updated in Ruby on Rails
  • Steven Parkes
    Steven Parkes commented at 2:30 AM

    My bad. A save got inserted (via update_attribute) into a before_save. Feel free to close/delete.

Sunday, April 19 2009
2524 duplicate SQL insert on has_many through was created in Ruby on Rails
  • Steven Parkes
    Steven Parkes created the ticket at 8:14 PM

    I'm getting a strange case where saving an object that has a has_many/through does a double-SQL-insert on the join table. Unforunately, I can't get it to happen...

Tuesday, October 07 2008
1107 Vendor'd rails gems can't be "depended" was updated in Ruby on Rails
Thursday, September 25 2008
1107 Vendor'd rails gems can't be "depended" was updated in Ruby on Rails
  • Steven Parkes
    Steven Parkes commented at 12:20 AM

    Well, the principle may be right, but the patch is a little light. For other functions (e.g., rake spec), gem is now going to want spec.loaded_from to be someth...

Wednesday, September 24 2008
1107 Vendor'd rails gems can't be "depended" was created in Ruby on Rails
  • Steven Parkes
    Steven Parkes created the ticket at 11:40 PM

    If a gem depends on a rails gem, e.g., activesupport, if the vendor'd version is not also in the system repository, an error occurs.

    For example, right now I ha...