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.

This project is archived and is in readonly mode.

Activity (RSS)

Tuesday, May 13 2008
186 ActiveRecord test failures when mocha is not installed was updated
  • Repository
    • State changed from new to resolved
    by Repository at 9:04 PM

    (from [3a0d8adcf25e27f7976a1d0996be05f21ffc3805]) Fix tests broken by mocha absence [#186 state:resolved]

    Two ActiveRecord tests depended on mocha but were no...

  • Tim Pope
    Tim Pope created the ticket at 8:25 PM

    Two ActiveRecord tests fail when mocha is not installed. The attached patch adds a uses_mocha wrapper to restore the test suite to passing.

185 [PATCH] environment.rb template 'rake gem:install' should be 'rake gems:install' was created
130 CGI::Cookie and CookieStore performing unnecessary work causing interoperabil... was updated
  • Jeremy Kemper
    • Milestone set to 2.1.1
    by Jeremy Kemper at 6:54 PM
  • Rich Cavanaugh
    Rich Cavanaugh commented at 5:21 PM

    I've attached a new patch addressing this issue along with a test for it.

  • Tarmo Tänav
    Tarmo Tänav commented at 5:04 PM

    This change seems to change the behavior of deleting a cookie. When a cookie is deleted it's value is set to an empty string. Previously that would have meant:...

make CGI::Cookie handle deleting a co... was committed by Repository at 6:52 PM
183 strange link_to behavior on links to controllers in modules was created
  • Amol Hatwar (rubygem)
    Amol Hatwar (rubygem) created the ticket at 6:41 PM

    This happens in the ERB template in the current edge as well as 2.0.2. This behavior is strange, and shouldn't happen...

    First Invocation

    <%=link_to('First L...
122 rails/init.rb doesn't get called for unpacked gems was updated
  • Pratik
    • State changed from open to hold
    by Pratik at 6:40 PM
  • Cheah Chu Yeow
    Cheah Chu Yeow commented at 6:08 PM

    Yup the issue I reported has gone away. Thanks Rick!

  • Cheah Chu Yeow
    Cheah Chu Yeow commented at 6:03 PM

    Awesome I think that will work. Lemme report right back after trying this in production with edge + config.gem.

  • Rick
    Rick commented at 5:48 PM

    Hey, I had that fix already in my rails fork, but I hadn't merged it:

    http://github.com/rails/rails/co...

    It's merged now, let me know how it works.

  • Repository
    Repository commented at 5:46 PM

    (from [92e2e5990cc2aa4f699c286ac5d1f73e27ede548]) include bugfix to [e792d4ab70448f79142fdf492390682ff5ea6398] for rubygems 1.0.1. Gem::DependencyList#depende...

1 earlier change…
  • Rick
    • State changed from resolved to open
    by Rick at 5:40 PM

    I just checked w/ matt, he's seeing a completely different issue that no one else can replicate.

    Cheah: I'm going to add your suggested fix to my Rails fork a...

180 fix remote_function url escaping was updated
  • Pratik
    • State changed from new to resolved
    by Pratik at 6:35 PM
  • Pratik
    • State changed from resolved to new
    by Pratik at 6:34 PM

    Made use escape_javascript() helper method instead of the regexp in your patch.

    Thanks.

  • Brad Greenlee
    Brad Greenlee commented at 2:34 PM

    +1. Simple fix.

Fix remote_function to escape apostro... was committed by Repository at 6:34 PM
Use 'public' schema path when connect... was committed by Repository at 6:26 PM
170 PostgreSQL: update rake tasks to use full settings from database.yml - bugfix was updated
  • Repository
    • State changed from new to resolved
    by Repository at 6:26 PM

    (from [3fee2378edd45188e41a7d14d4ca0a88280b541e]) Use 'public' schema path when connecting to 'postgres' database. [#170 state:resolved]

    Signed-off-by: Pratik...

73 SECURITY BUG - Request Forgery protection checks for 'Accept' header instead ... was updated
  • Rick
    Rick commented at 5:55 PM

    I've been testing these out on Lighthouse for the past week without problems. I think we're doing better now, but please shower us with patches/failing test c...

  • Repository
    • State changed from new to resolved
    by Repository at 5:46 PM

    (from [0697d17d121fcf9f46b5dd2dd1034dffa19ebdf2]) Change the request forgery protection to go by Content-Type instead of request.format so that you can't bypas...

  • Repository
    Repository commented at 5:46 PM

    (from [c8451aeeea200043d8a3e6eae9c49def3a154ddb]) change ActionController::RequestForgeryProtection to use Mime::Type#verify_request? [#73]

    http://github.com/...

182 Routes restricted to HEAD fail to be matched was created
  • Chris Hapgood
    Chris Hapgood created the ticket at 5:53 PM

    Consider a route that is restricted to just HEAD requests. For example:

    map.resource :session, :collection => {:status => :head}
    

    This action can never be i...

175 TimeWithZone#to_json should include time zone was updated
  • Rick
    • State changed from new to resolved
    by Rick at 5:53 PM
  • Rick
    Rick commented at 5:52 PM
  • Rick
    Rick commented at 5:50 PM

    I thought it was pretty common practice to use UTC. But if this is what the people want, then so be it!

  • Daniel Morrison
    Daniel Morrison commented at 3:22 PM

    My thought is simply that including the offset gives you more meaningful data, and you can easily convert to UTC if you want it.

  • Geoff Buesing
    • Assigned user set to Rick
    by Geoff Buesing at 2:21 PM

    This is a good catch -- we should make the output of #to_json consistent across Time, DateTime, and TimeWithZone instances.

    The outstanding question is, is th...

Include time zone offset in TimeWithZ... was committed by Repository at 5:52 PM
fix merge conflict with actionpack ch... was committed by Repository at 5:46 PM
Change the request forgery protection... was committed by Repository at 5:46 PM
Merge branch 'master' of git@github.c... was committed by Repository at 5:46 PM
include bugfix to [e792d4ab70448f7914... was committed by Repository at 5:46 PM
change ActionController::RequestForge... was committed by Repository at 5:46 PM
93 Restore timestamps in model rollback was updated
  • Pratik
    • State changed from new to incomplete
    by Pratik at 5:45 PM
Use 'postgres' database instead of 't... was committed by Repository at 5:35 PM
181 Incorrect input name with nested fields_for was created
  • David Röthlisberger
    David Röthlisberger created the ticket at 4:36 PM
    form_for('post[]', @post) do |f|
      f.fields_for('comment[]', @comment) do |c|
        c.text_field(:name)
      end
    end
    

    I expect:

    <input name="post[123][comment]...
123 Fix to_xml serialization in some rare cases. was updated
  • Pratik
    • State changed from new to incomplete
    • Title changed from [patch] Fix to_xml serialization in some rare cases. to Fix to_xml serialization in some rare cases.
    by Pratik at 4:34 PM

    Hi Adam,

    I agree with all suggestions ( only a. and c. are relevant now ) made by Jon.

    You need to add tests to rails' existing test suite, which would fail ...

142 belongs_to association not updated when assigning to foreign key was updated
  • Pratik
    • Title changed from [PATCH] belongs_to association not updated when assigning to foreign key to belongs_to association not updated when assigning to foreign key
    by Pratik at 4:25 PM
172 Altered Rails Route Globbing breaks when non-strings passed was updated
  • Pratik
    • State changed from new to incomplete
    by Pratik at 2:55 PM
  • Pratik
    Pratik commented at 2:41 PM

    And also, it'd be nicer if you create the .diff using git-format-patch, so that you get the credit when patch is committed :)

  • Pratik
    Pratik commented at 2:39 PM

    Do you have a failing test case ?

    Thanks.

147 collection_select not displaying :prompt when value present was updated
  • Andrew Selder
    Andrew Selder commented at 2:32 PM

    Attached a new copy of the patch. This one should work.

  • Pratik
    • State changed from new to incomplete
    by Pratik at 2:25 PM

    The uploaded patch seems garbled. Could you please upload a new patch ?

    Thanks.

  • Pratik
    • Title changed from [PATCH] collection_select not displaying :prompt when value present to collection_select not displaying :prompt when value present
    by Pratik at 2:14 PM
110 Scan custom select to ensure included tables are joined was updated
  • Pratik
    • Title changed from [PATCH] Scan custom select to ensure included tables are joined to Scan custom select to ensure included tables are joined
    by Pratik at 1:58 PM
150 Bug in dirty record code was updated
  • Pratik
    • Title changed from [PATCH] Bug in dirty record code to Bug in dirty record code
    by Pratik at 1:56 PM
46 with_scope clobbers result attributes when :joins key is specified was updated
  • Pratik
    • State changed from new to incomplete
    by Pratik at 1:55 PM

    Could you please upload a single patch ? I'm a little confused with 3 uploded patches. Also, it's good idea to use git-format-patch to create the diff file, so...

178 Add documentation for Inflector.inflect was updated
  • Pratik
    • State changed from new to resolved
    by Pratik at 1:51 PM

    Committed to docrails - http://github.com/lifo/docrails/...

    Also added you to the project, just in case you have anything more in the future :)

    Thanks.