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)

Friday, May 02 2008
92 [FEATURE] More efficient session handling was updated
  • Frederick Cheung
    Frederick Cheung commented at 2:35 AM

    Sounds intriguing. Most of this isn't really relevant if you're using the cookie store, but for everyone else this could be a win.

    Not loading the session unt...

  • Andreas
    Andreas created the ticket at 2:07 AM

    Problem:

    • Some applications end up with huge amounts of empty sessions.
    • Activating sessions can hurt performance even for requests that do not depend on sess...
87 Dependencies shouldn't swallow errors from required files. was updated
91 STI sub classes not loaded until parent is was updated
  • Frederick Cheung
    Frederick Cheung commented at 2:28 AM

    Works fine for me. Where have you put these classes?

  • Ian Ownbey
    Ian Ownbey created the ticket at 1:22 AM

    When using STI, a Uninitialised Constant error is thrown when calling subclasses (Doc in following example) before parent class is called (container in followi...

53 Edge-zip has zero length was updated
  • Jeremy Kemper
    • Milestone set to 2.1.1
    • State changed from new to resolved
    • Assigned user set to Jeremy Kemper
    by Jeremy Kemper at 1:33 AM
79 Update links on Rails Website was updated
  • DHH
    • State changed from new to resolved
    by DHH at 12:54 AM

    Fixed it.

  • Mike Boone
    Mike Boone commented at 12:21 AM

    Thanks for the link about search. I never noticed the magnifying glass icon before.

64 eager loading inconsistency was updated
Thursday, May 01 2008
Fixed that TextHelper#text_field woul... was committed by Repository at 11:56 PM
80 form_helper corrupts text_fields which have raw html entities was updated
  • Repository
    • State changed from new to resolved
    by Repository at 11:56 PM

    (from [f6ec296ad84ac7e321980cfdd8bba2ea6ce3a14b]) Fixed that TextHelper#text_field would corrypt when raw HTML was used as the value (mchenryc, Kevin Glowacz) ...

  • Kyle Hargraves
    Kyle Hargraves commented at 7:49 PM

    +1; I was one of the people who updated this patch while it was still on Trac. It's both tested and introduces extra coverage demonstrating current behaviour.

  • Kevin Glowacz
    Kevin Glowacz created the ticket at 4:53 PM

    copied from Trac#8116 :

    Given the title "The HTML Entity for & is &", the field to edit it should look something like:

     <input id="post_title" name="pos...
71 Add change_table to core? was updated
  • DHH
    DHH commented at 11:45 PM

    Getting the following failures on rake test_sqlite3 in AR after applying:

    1) Failure:

    test_integer_creates_integer_column(ChangeTableMigrationsTest)

    [(eval)...

56 Cheaper Dependencies#log_call to resolve irritating error message w/ rake db:... was updated
  • Sven Fuchs
    Sven Fuchs commented at 11:35 PM

    Cool.

    Thanks, David!

Made the location of the routes file ... was committed by Repository at 11:27 PM
88 [PULLREQUEST] add support for specifying a file to load routes from in envir... was updated
  • Repository
    • State changed from new to resolved
    by Repository at 11:27 PM

    (from [926f4648f0628009336c44f4d31019819434e39c]) Made the location of the routes file configurable with config.routes_configuration_file (Scott Fleckenstein) ...

  • Scott Fleckenstein
    Scott Fleckenstein commented at 10:41 PM

    The use case is when I have an 2 separated front-ends that rely on the same models, supporting library code, and plugins.

    For example: getsatisfaction.com an...

  • DHH
    DHH commented at 10:29 PM

    What is the use case for this feature?

    Also, please always attach the patch to the ticket. We don't use pullrequest for one-offs (it's a hassle).

  • Scott Fleckenstein
    Scott Fleckenstein created the ticket at 9:38 PM

    http://github.com/nullstyle/rail...

    This commit adds in the ability to specify a routes_configuration_file in your Rails configuration, which will be used in ...

Merge branch 'master' of git@github.c... was committed by Repository at 11:27 PM
82 Iterate over :has_many array with the join (:through) model was updated
  • Pratik
    Pratik commented at 10:33 PM

    Why can't you just do the following ?

    user = User.find(:first, :include => { :groups => :membership })
    user.groups.each do |group|
      puts "#{group.name}, #{...
  • Daniel Lunde
    Daniel Lunde commented at 9:22 PM

    What about the cases where you are sorting by groups

    class User < ActiveRecord::Base
       has_many :memberships
       has_many :groups, :through => :memberships,...
  • Michael Koziarski
    • State changed from new to invalid
    by Michael Koziarski at 9:10 PM

    This should really just be:

    user.memberships.each do |membership|

    puts membership.status, membership.group.name

    end

    So I can't the need for this feature.

  • Daniel Lunde
    Daniel Lunde created the ticket at 5:28 PM

    It is often the case when I iterate over an array of objects in a has_many_through association that I want access to both the :has_many objects and the :throug...

87 Dependencies shouldn't swallow errors from required files. was updated
  • Michael Koziarski
    • Milestone set to 2.1.1
    • Assigned user set to Michael Koziarski
    • Title changed from Incorrect alias_method call in controller causes misleading const_missing exception to Dependencies shouldn't swallow errors from required files.
    by Michael Koziarski at 10:27 PM

    This is frustrating as it masks the true error. I get similar behaviour when I use my 'apple ruby' which doesn't have rmagick installed.

    Dependencies shouldn...

  • Michael Koziarski
    Michael Koziarski commented at 10:20 PM

    Plz send patches newb

  • Marcel Molina
    Marcel Molina created the ticket at 9:08 PM

    What I did:

    I, unknowingly, invoked alias_method in a controller incorrectly by supplying the arguments in the wrong order.

    What should have happened:

    Us...

89 Errors in partials are reported as occurring in parent templates was updated
  • DHH
    • Assigned user set to Pratik
    by DHH at 10:23 PM
  • nex3
    nex3 created the ticket at 9:38 PM

    When an error is raised in a partial template, it's only wrapped by TemplateError once it bubbles up to Base#render_file. This means that the Template object p...

Ruby 1.9 compat: don't shadow local w... was committed by Repository at 10:06 PM
90 Enhancement: Add support for named scopes with optional arguments was created
  • duncanbeevers
    duncanbeevers created the ticket at 9:54 PM

    The current declaration of dynamic named scopes requires use of the lambda syntax which has no support for optional arguments or arguments with default values....

Fix failing associate_with_create tes... was committed by Repository at 9:53 PM
79 Update links on Rails Website was updated
85 has_many :through .create with no parameters causes a "can't dup NilClass" error was updated
84 ActionView crashes if RAILS_ROOT is not defined during require() was updated
  • Jeremy Kemper
    • Milestone set to 2.1.1
    • State changed from new to resolved
    by Jeremy Kemper at 8:48 PM
  • Hongli Lai
    Hongli Lai created the ticket at 7:50 PM

    AssetTagHelper assumes that RAILS_ROOT is defined when its source file is being require()d. This is not the case in Passenger (mod_rails): it preloads the fram...

83 Prototype insertion - deprecation and custom functions was updated
  • DHH
    • State changed from new to invalid
    by DHH at 8:44 PM

    Hi Chewi, Prototype now has its own Lighthouse: http://prototype.lighthouseapp.com

  • James Le Cuirot
    James Le Cuirot commented at 6:11 PM

    Just had a thought. The ideal way to do this would probably be to ditch :position and have :insertion pass the value as a string or as-is depending on whether ...

  • James Le Cuirot
    James Le Cuirot created the ticket at 5:57 PM

    The Prototype Insertion classes have been marked as deprecated in version 1.6.0. The part of the updateContent function that deals with insertion currently loo...

86 PostgreSQL: Use adapter's #create_database db:test:purge was created
  • Pete Deffendol
    Pete Deffendol created the ticket at 8:18 PM

    Creating the test database using the PostgreSQL adapter doesn't work completely if using settings like "template" in database.yml.

    This patch updates the Rake...

78 Fixtures.identify should generate uniqueIDs was updated
  • Frederick Cheung
    Frederick Cheung commented at 6:55 PM

    Another thought: is there any evidence that String#hash is generating particular bad values (ie bad uniformity etc...) ?

  • Frederick Cheung
    Frederick Cheung commented at 6:53 PM

    I've always wondered whether this was going to be a problem with anyone. Typically the number of things in a fixtures file is quite small, so it does seem quit...

81 Association IDs carry over to associated model was created
  • Matthew Moore
    Matthew Moore created the ticket at 5:21 PM

    I've had big problems with this bug in 2.0.2 & 2.0.3.

    In Rails Edge (2.0.3) and 2.0.2, I'm having problems with has_many associations where there are collidin...

12 Bounded params in find(...:from) was updated
  • Kyle Hargraves
    Kyle Hargraves commented at 5:20 PM

    +1, tests pass, and I've been using this in production for a while. It makes it much cleaner to call database functions from within AR without having to go thr...

  • Dan Barry
    Dan Barry commented at 5:06 PM

    Oops, I deleted my github fork while I still had an outstanding patch. Ignore the link in my comment and instead scroll down to the link to the patch on the bo...

21 db:structure:dump broken by 8a5a9dc was updated
  • Steven Soroka
    Steven Soroka commented at 5:01 PM

    My schema dump format is sql, and i'm using migrations.

    I also noticed there's no db:structure:load to match the db:schema:load, which could make db:reset wor...

  • Jordi Bunster
    Jordi Bunster commented at 4:56 PM

    Ok, cool. The bad news is that the removal of those lines is not an acceptable fix.

    The good news is that the fix is trivial. I'll take a look at it as soon a...

  • Kyle Hargraves
    Kyle Hargraves commented at 4:51 PM

    Jordi: Yes, I am using migrations, and the dump format is SQL. It did not occur to me to worry about whether migrations would continue to run after removing th...