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.

Keith Pitt's latest activity

Monday, November 29 2010
1152 Support for nested :through associations was updated in Ruby on Rails
  • Keith Pitt
    Keith Pitt commented at 1:16 AM

    +1

    Solves something that should "just work"

Wednesday, November 24 2010
5545 capture helper assumes that text is html_safe was updated in Ruby on Rails
  • Keith Pitt
    Keith Pitt commented at 4:48 AM

    Hrm - this seems like a silly change to me.

    Firstly, the documentation inside the capture helper states:

    "It provides a method to capture blocks into variables ...

Thursday, October 07 2010
5764 ActionController::Testing incorrectly returns filter names was updated in Ruby on Rails
  • Keith Pitt
    Keith Pitt commented at 11:54 PM

    Ignore my last comment - not sure what I was smoking at that point.

  • Keith Pitt
    Keith Pitt commented at 3:39 AM

    Actually, looking it again, shouldn't #before_filters live in ActionController::TestCase::Behavior?

    RSpec includes ActionController::TestCase::Behavior in its c...

  • Keith Pitt
    Keith Pitt created the ticket at 1:44 AM

    Given we have a controller that looks like this:

    class MyController < ApplicationController
      before_filter :filtername1
      before_filter :filtername2
      before_...
Tuesday, March 10 2009
2149 Inconsistent has_many validation. was updated in Ruby on Rails
  • Keith Pitt
    Keith Pitt commented at 3:42 AM

    Here is my test script. I tested it with rails 2.2 (stable) and my tests fail. I went back to 2.1 but got more errors (not to do with me tests) - do I need to g...

  • Keith Pitt
    Keith Pitt commented at 1:16 AM

    has_many :model_bs, :validate => true

    Tried that - but it still fails.

    I tried this, as per your thoughts Eloy ( hopefully I understood them correctly, your s...

Saturday, March 07 2009
2149 Inconsistent has_many validation. was updated in Ruby on Rails
  • Keith Pitt
    Keith Pitt commented at 12:38 PM

    Whats the best (fastest) way for me to do that?

2161 Loosing field contents when positioned after file upload was created in Ruby on Rails
  • Keith Pitt
    Keith Pitt created the ticket at 1:49 AM

    I have a form that contains a file upload and a 2 text fields.

    
    <li><%= t.file_field :artwork %></li>
    <li><%= t.text_field :caption %></li>
    <li><%= t.text_f...
Friday, March 06 2009
2149 Inconsistent has_many validation. was updated in Ruby on Rails
  • Keith Pitt
    Keith Pitt commented at 11:18 PM

    I added that tag because thats the version I'm using (I thought that might be useful). But I haven't checked to see if its in the current stable version of rail...