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)

Thursday, May 01 2008
21 db:structure:dump broken by 8a5a9dc was updated
  • Jordi Bunster
    Jordi Bunster commented at 4:41 PM

    Kyle Hargraves / Steven Soroka: Are you using migrations, and is your schema dump format set to SQL?

    If so, I think I might know what the problem is. Removing...

  • Steven Soroka
    Steven Soroka commented at 4:03 PM

    Here's a patch. Hopefully this makes it in to 2.1 :)

22 default_url_options is being ignored by named route optimisation was updated
  • Daniel Guettler
    Daniel Guettler commented at 4:07 PM

    +1 looks good, better than my local solution to the referenced ticket :) Patch applied fine to 74436d (Thu May 1 10:21:46 2008 +0100) after removing the empty ...

  • Ian White
    Ian White commented at 8:36 AM

    +1 applies cleanly on 6f20efd (Wed Apr 30 23:30:50 2008 -0500)

    I've been bitten by this one, thanks for the patch

79 Update links on Rails Website was created
78 Fixtures.identify should generate uniqueIDs was created
  • vlad.zar (at gmail)
    vlad.zar (at gmail) created the ticket at 3:36 PM

    "Foxy fixtures are great! Manually entered IDs no more required at all" (c) somebody.

    Well, that's not actually true (yet).

    I've tried to generate a big num...

77 ActiveRecord: :select is wiped when doing a join was created
  • Oleg
    Oleg created the ticket at 3:35 PM

    First of all, a small annoying bug:

    CompanyActivitiesSummary.find(:all, :select => 'company.id, sum(active_users_count)', :group => 'company_id', :include => ...

74 problem with tests and custom mysql fulltext indexes was updated
  • stanislav
    stanislav commented at 2:56 PM

    Thank you for the support. It's OK now. You can close this ticket. It was a kind of obvious resolution, but....

    Best Wishes

  • Jeff Dean
    Jeff Dean commented at 10:59 AM

    In environment.rb uncomment:

    config.active_record.schema_format = :sql

    Then when you run db:test:prepare --trace you'll notice that it uses clone_structure i...

  • stanislav
    stanislav created the ticket at 10:49 AM

    I'm using Rails 2.0.2 / MySQL 5.0.45

    I think it's a kind of bug/problem for tests and mysql fulltext indexes, which doesn't have a common workaround.

    So, it ...

33 AssociationsPreload casts foreign keys to integers was updated
  • Chris Hapgood
    Chris Hapgood commented at 2:04 PM

    I am really pleased that this ticket was acted on so quickly.

    I know that non-integer keys are not exactly mainstream RoR (although if you saw all the mileage...

  • Repository
    • State changed from new to resolved
    by Repository at 5:31 AM

    (from [6f20efdaf733db26fbf337da73121983785064d5]) Fixed AssociationsPreload such that it doesnt require foreign keys to be integers (fcheung) [#33 state:resolv...

  • Chris Hapgood
    Chris Hapgood commented at 2:08 AM

    I need some sleep.

  • Frederick Cheung
    Frederick Cheung commented at 2:04 AM

    It's attached to this ticket :-)

  • Chris Hapgood
    Chris Hapgood commented at 1:34 AM

    Thanks Frederick. Can you tell me where/how to see the patch?

    -Chris

76 Review/reopen Ticket #9 and #10 please was created
  • Andreas Neuhaus
    Andreas Neuhaus created the ticket at 2:04 PM

    Could somebody please review/reopen tickets #9 and #10 please? They have patches with fix and tests attached, but I think nobody noticed because the patches we...

75 Routing - Receptors with a dot in the name was created
  • Tayfun
    Tayfun created the ticket at 1:59 PM

    Hi,

    I'm not sure if this is bug or a feature, but it took me some time to understand so that's why I'm asking about it. Here's my configuration:

    I have a fai...

73 SECURITY BUG - Request Forgery protection checks for 'Accept' header instead ... was updated
  • Mathijs Kwik
    Mathijs Kwik commented at 11:57 AM

    That's not what I'm reporting here.

    The thing is, that in the case I mentioned (submitting a form from a different domain to a url ending in .json or .xml) by...

  • Frederick Cheung
    Frederick Cheung commented at 10:43 AM

    As i see it this is only a problem if you implicitly trust json input more than a 'normal' http post, and i can't think why you would do that (and indeed ajax ...

  • Mathijs Kwik
    Mathijs Kwik created the ticket at 8:33 AM

    JSON was recently added as input-type just as xml has been for some time.

    While playing with it I noticed that I get ActionController::InvalidAuthenticityToke...

15 Doc for ActionController::Resources::Resource.resources was updated
  • Pratik
    • State changed from new to resolved
    by Pratik at 10:35 AM
Fixed render :template for templates ... was committed by Repository at 10:22 AM
54 render :template doesn't work was updated
  • Repository
    • State changed from new to resolved
    by Repository at 10:22 AM

    (from [74436d2203eba186baebc1ddc82ff2202d0fc005]) Fixed render :template for templates in top level of view path. [#54 state:resolved]

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

71 Add change_table to core? was updated
  • Jeff Dean
    Jeff Dean commented at 10:14 AM

    (the list formatting got eaten on that last post...)

    Here's the verbose patch.

  • Jeff Dean
    Jeff Dean commented at 10:13 AM

    I agree that removing add_ makes it much clearer. However, removing those makes the naming a bit less clear to me. I've made those changes and provided 2 pat...

  • DHH
    DHH commented at 5:27 AM

    Also, pulling is actually a big hassle. Please do upload a patch.

  • DHH
    DHH commented at 4:40 AM

    Thoughts: Make the add_ implicit, just like in create_table, so you do t.string :column to add a column. Then you can drop column from remote for just doing t....

  • Jeff Dean
    Jeff Dean created the ticket at 3:06 AM

    I created a fork that adds change_table to migrations like so:

    change_table :videos do |t|
      t.add_timestamps
      t.add_belongs_to :goat
      t.add_string :name...
72 auto_link fails to recognize urls separated by space was updated
28 ActionView class method to set default order for date and time field helpers was updated
  • Adam Meehan
    Adam Meehan commented at 5:45 AM

    Understood. I usually do use a method wrapper or a full form builder class for form intensive apps. Just thought it made for a sensible default option.

    Thanks...

  • DHH
    • State changed from new to invalid
    by DHH at 4:56 AM

    I understand the sentiment to why you'd want this, but I don't like the floating, global accessor on AV to control it. I think if you're often using similar de...

  • Adam Meehan
    Adam Meehan commented at 3:13 AM

    Updated patch to proper format

  • Adam Meehan
    • Title changed from Add class method to set default order for date and time field helpers to ActionView class method to set default order for date and time field helpers
    by Adam Meehan at 1:16 AM
23 validates_uniqueness_of doesn't escape attributes was updated
  • DHH
    • State changed from new to incomplete
    by DHH at 5:36 AM

    Change status to open when koz's suggestions are implemented.

39 Add blocks to AR create and update was updated
  • Adam Meehan
    Adam Meehan commented at 5:32 AM

    Thanks David.

  • DHH
    • State changed from new to resolved
    by DHH at 5:15 AM
  • DHH
    • State changed from resolved to new
    by DHH at 5:15 AM

    The create block is good stuff, but I don't think the update one warrants enough use to be included. Base#update is kinda suspect as is.

  • Repository
    • State changed from new to resolved
    by Repository at 5:14 AM

    (from [dd120ede53eaf71dee76894998a81626b7a689fc]) Added block-setting of attributes for Base.create like Base.new already has (Adam Meehan) [#39 state:resolved...

  • Adam Meehan
    Adam Meehan commented at 3:00 AM

    Patch updated using correct format.

Fixed AssociationsPreload such that i... was committed by Repository at 5:31 AM
48 label tag ignoring for attribute was updated
38 PostgreSQL: use template1 database on rake:db_(create|drop) was updated
  • DHH
    • State changed from resolved to open
    by DHH at 5:25 AM
Cheaper Dependencies#log_call to reso... was committed by Repository at 5:21 AM
56 Cheaper Dependencies#log_call to resolve irritating error message w/ rake db:... was updated
  • Repository
    • State changed from new to resolved
    by Repository at 5:21 AM

    (from [1eb686a0e5944d99d40bc8ab8039e4179ed78cf7]) Cheaper Dependencies#log_call to resolve irritating error message w/ rake db:create (Sven) [#56 state:resolve...

Added block-setting of attributes for... was committed by Repository at 5:14 AM
66 True/False conditions broken for sqlite was updated
  • Tobin
    Tobin commented at 2:05 AM

    You're correct, I created those records outside Rails. After some further testing, it is working as it should.

    Thanks for the debugging help. :)

70 [PATCH] rake package is broken was updated
  • Jaroslaw Zabiello
    • Title changed from rake package is broken to [PATCH] rake package is broken
    by Jaroslaw Zabiello at 12:09 AM

    Added patch. It was simple syntax error.