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 06 2008
105 Assigning strings with timezone information to timezone aware attributes stri... was updated
  • Dan Barry
    Dan Barry commented at 4:30 PM

    I just realized that strings without specified time zones are interpreted as being in UTC. While one could theoretically just use Time.zone.parse, it defeats t...

  • Kevin Glowacz
    Kevin Glowacz commented at 3:42 PM

    I've been having trouble with time zones in my project. This helps. +1

  • Kyle Hargraves
    Kyle Hargraves commented at 3:21 AM

    The tests are now consistently passing for me no matter my system date / time zone / DST value. +1, this is a handy feature.

  • Dan Barry
    Dan Barry commented at 2:57 AM

    I noticed a problem with DST due to TimeZone not knowing which period it is in. This has been fixed in the new patch (as well as the tests using time zones fro...

77 ActiveRecord: :select is wiped when doing a join was updated
  • Oleg
    Oleg commented at 3:20 PM

    Ignore my comment about eager loading being borked, I forgot I needed to do :select => 'id' as well. Issue still stands, however.

  • Oleg
    Oleg commented at 3:09 PM

    I'm bumping this again with a test

    
    class AssociationsJoinModelTest < ActiveRecord::TestCase
    
      def test_my_little_test
        p = Post.find(:all, :select =>...
123 [patch] Fix to_xml serialization in some rare cases. was updated
  • Jonathan del Strother
    Jonathan del Strother commented at 2:26 PM

    Good idea, but -

    a) Why not just always clone the options?

    b) It would be much more likely that this gets accepted if you supply in patch form (http://www.tp...

  • Adam Sindelar
    Adam Sindelar created the ticket at 1:57 PM

    Hi,

    this is my first patch, so... here's hoping that I'm posting this in the right place.

    It is possible for a model to overwrite its to_xml method in a way ...

122 rails/init.rb doesn't get called for unpacked gems was updated
  • Paul Barry
    Paul Barry commented at 1:32 PM

    Thanks for applying that. I didn't read that bit about submitting a patch instead of forking until after I had already done it.

  • Repository
    • State changed from new to resolved
    by Repository at 8:01 AM

    (from [123e55686de920499cc8572f3a8b4d585d20ab02]) Fix bug where plugin init.rb files from frozen gem specs weren't being run. (pjb3) [#122 state:resolved]

    ht...

  • Rick
    • Assigned user set to Rick
    by Rick at 8:01 AM

    Hey, I just pushed this to my rails fork, but I didn't merge the commit right. Sorry about that.

    Also it's not necessary to create a fork for minor patches l...

  • Paul Barry
    Paul Barry created the ticket at 5:59 AM

    If you have an unpacked gem that has a rails/init.rb initialization file, it doesn't get called. This patch fixes that.

    http://github.com/pjb3/rails/com...

73 SECURITY BUG - Request Forgery protection checks for 'Accept' header instead ... was updated
  • Mathijs Kwik
    Mathijs Kwik commented at 12:45 PM

    Rick, Thanks for the patch,

    I will look into it at the end of the day.

    One thing about turning off the session and about protecting ajax-requests in general....

  • Rick
    Rick commented at 11:04 AM

    If you want to protect your Rails 2.0 app:

    class ApplicationController < ActionController::Base
      def verifiable_request_format?
        request.content_type !=...
  • Rick
    Rick commented at 10:59 AM

    Ah, forgot about Mime::MULTIPART_FORM and Mime::URL_ENCODED_FORM. Wee.

  • Rick
    Rick commented at 9:33 AM

    Here's my commit with the change. It's in my personal fork until I've tested it in Lighthouse and deployed it. I'd appreciate if anyone else using CSRF prote...

Delegate action_name to controller in... was committed by Repository at 12:03 PM
Add class to deprecate instance varia... was committed by Repository at 11:55 AM
Deprecate ivars in view. Deprecate u... was committed by Repository at 11:47 AM
Added logic to associations.rb to mak... was committed by Repository at 11:01 AM
109 [patch] Ensure necessary included tables are joined in construct_finder_sql_f... was updated
  • Repository
    • State changed from new to resolved
    by Repository at 11:01 AM

    (from [8ded457b1b31b157d6fe89b553749579e5ac4a27]) Added logic to associations.rb to make sure select_for_limited_ids

    includes joins that are needed to reach t...

  • Frederick Cheung
    Frederick Cheung commented at 10:26 AM

    +1. tests all pass, looks sane (also see discussion on trac)

Refactored and fixed Resources.map_me... was committed by Repository at 11:01 AM
111 Default path names ignored was updated
  • Repository
    • State changed from new to resolved
    by Repository at 11:01 AM

    (from [2c39836dc3c06813fce031d1bb390149b53ebd1c]) Refactored and fixed Resources.map_member_actions to make use of custom ActionController::Base.resources_path...

99 SQLite connection failing was updated
  • Michael Koziarski
    • Assigned user cleared.
    by Michael Koziarski at 10:45 AM

    The sqlite3 tests pass for me, are they failing for you?

86 PostgreSQL: Use adapter's #create_database db:test:purge was updated
64 eager loading inconsistency was updated
110 [PATCH] Scan custom select to ensure included tables are joined was updated
  • Frederick Cheung
    Frederick Cheung commented at 10:18 AM

    Good catch! Hadn't thought of that one. I'll give it a whirl later today but looks good to me

Merge branch 'master' of git@github.c... was committed by Repository at 10:09 AM
Ensure correct record is returned whe... was committed by Repository at 10:09 AM
PostgreSQL: update rake tasks to use ... was committed by Repository at 10:09 AM
96 Form helpers don't handle "question?" methods was updated
  • Rick
    • State changed from new to resolved
    by Rick at 8:06 AM

    Commmitted.. thanks.

Fixed form helper's name attribute fo... was committed by Repository at 8:05 AM
Added code to make initialization pro... was committed by Repository at 8:01 AM
Merge commit 'e792d4ab70448f79142fdf4... was committed by Repository at 8:01 AM
Fix bug where plugin init.rb files fr... was committed by Repository at 8:01 AM
21 db:structure:dump broken by 8a5a9dc was updated
  • Rick
    • State changed from new to resolved
    by Rick at 7:49 AM

    Cool, rake db:structure:dump works. Merged into rails/master. Thanks everyone.

regression test for bug introduced in... was committed by Repository at 7:46 AM
22 default_url_options is being ignored by named route optimisation was updated
  • Repository
    • State changed from open to resolved
    by Repository at 7:46 AM

    (from [37599d16f2374179ebf001aeb79ff121e3d67519]) regression test for bug introduced in [6a6b4392c16c665eb713705f2b38e959a658eeef] [Ian White] [#22 state:resol...

  • Rick
    Rick commented at 7:43 AM

    Too slow! I got it...

Allow ActionController::Base#default_... was committed by Repository at 7:46 AM
Restore dump_schema_information conne... was committed by Repository at 7:46 AM
Merge branch 'master' of git@github.c... was committed by Repository at 7:46 AM
Merge branch 'master' of git@github.c... was committed by Repository at 7:46 AM
Merge commit 'core/master' http://git... was committed by Repository at 7:46 AM
Merge commit 'stephencelis/master' in... was committed by Repository at 7:46 AM
121 Add assert_showing_flash was created
  • Nathan Wilmes
    Nathan Wilmes created the ticket at 2:12 AM

    This assertion is designed to help people test their use of flash and flash.now - and will give sensible errors if they use the wrong one.

    Flash.now in partic...

120 [PATCH] ActiveRecord calculations only accept one grouping field was created
  • Eric
    Eric created the ticket at 1:25 AM

    This is a patch from trac: http://dev.rubyonrails.org/ticke...

    It allows for multiple columns to used in calculation groups.

    The patch didn't work with the l...

119 Add basic assertions to core_ext was created
  • Nathan Wilmes
    Nathan Wilmes created the ticket at 12:54 AM

    The following patch defines a bunch of convenience assertions for general testing purposes. We've got assert_contains, assert_does_not_contain, assert_empty, ...

117 Add assert_not_valid to model assertions was updated
  • Tarmo Tänav
    Tarmo Tänav commented at 12:52 AM

    1. I agree

    2. I agree, though I still think that if there is a all-in-one assertion helper for the "test more than needed, just in case" people there should b...