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)

Saturday, May 17 2008
215 ActiveRecord::Base.each instance method was created
  • Guillermo Álvarez
    Guillermo Álvarez created the ticket at 6:15 PM

    [PATCH] These patch add: ActiveRecord::Base.each ( User.each {|u| u.name} ) ActiveRecord::Base.map ActiveRecord::Base.collect

    But with the diference with User.a...

Deprecate ActionView::Base.cache_temp... was committed by Repository at 12:26 PM
172 Altered Rails Route Globbing breaks when non-strings passed was updated
  • Pratik
    • State changed from open to resolved
    by Pratik at 11:57 AM
Make sure clone_structure can load th... was committed by Repository at 7:51 AM
201 Process schema_migrations inserts individually during rake db:test:clone_stru... was updated
  • Repository
    • State changed from new to resolved
    by Repository at 7:51 AM

    (from [2183c220ada046993274ccdc6f1f86e9e8a3a5c6]) Make sure clone_structure can load the results of dump_schema_information

    SchemaStatements#dump_schema_infor...

  • Steven Soroka
    Steven Soroka commented at 6:48 AM

    It makes a difference because SchemaStatements#dump_schema_information is inconsistent with db:clone_structure in databases.rake, and will create sql that db:c...

  • Michael Koziarski
    • Milestone set to 2.1.1
    • Assigned user set to Michael Koziarski
    by Michael Koziarski at 1:31 AM

    Could you reattach with git-format-patch output so we get the authorship etc correct. Also, in the commit message could you mention why this seemingly trivial...

ignore pkg too http://github.com/rail... was committed by Repository at 1:36 AM
Friday, May 16 2008
201 Process schema_migrations inserts individually during rake db:test:clone_stru... was updated
  • Steven Soroka
    Steven Soroka commented at 11:43 PM

    I have the same problem and independently came up with the same patch. +1, please commit.

Merge documentation changes from docr... was committed by Repository at 11:40 PM
214 GemDependency should not require default @lib if gem is rails plugin was created
  • pager
    pager created the ticket at 10:55 PM

    Unless config.gem … :lib explicitly specified and gem is rails plugin (i.e. have rails/init.rb) GemDependency should leave requires to plugin initializer.

    Pat...

212 Add alternate constructor support to aggregations was created
  • Chris Hapgood
    Chris Hapgood created the ticket at 10:15 PM

    The composed_of macro assumes that the value object can be instantiated with new. But for some aggregate classes, new is not the appropriate constructor and in...

72 auto_link fails to recognize urls separated by space was updated
  • Pratik
    • State changed from resolved to open
    by Pratik at 10:11 PM

    Do you have a failing test for that ? Feel free to catch me in #rails-contrib irc channel.

    Thanks

  • Repository
    • State changed from new to resolved
    by Repository at 1:03 PM

    (from [150717344aa5c6d8f46fc67de39d6947553ac286]) auto_link helper fails to recognize links separated by space. [#72 state:resolved]

    Signed-off-by: Pratik Nai...

210 rake gems:install only installs one gem at a time was updated
  • Tim Morgan
    Tim Morgan commented at 9:14 PM

    Weird: my patch file is not showing up on this issue, and my first comment pointing to my commit on my forked Rails repo is marked as spam.

    Let's try again: C...

  • Tim Morgan
    Tim Morgan commented at 9:11 PM

    Here's a patch in case that is easier than doing a pull. Thanks.

  • Tim Morgan
    Tim Morgan created the ticket at 8:08 PM

    If an app indicates four gem dependencies, and none are installed, doing a rake gems:install will install the first gem and exit. Thus one has to run the task ...

211 ActiveRecord count with :group and :include fails for sqlite was created
  • Troels Petersen
    Troels Petersen created the ticket at 9:07 PM

    The method construct_calculation_sql in calculations.rb constructs invalid SQL when connection.supports_count_distinct? is false, eg for sqlite:

    Comment.count...

208 PQserverVersion not supported by this client version was updated
  • Rick
    • State changed from new to invalid
    by Rick at 7:37 PM

    Closed at Tarmo's request.

  • Tarmo Tänav
    Tarmo Tänav commented at 7:19 PM

    The error you're seeing should only exist in ruby-pg and not the postgres gem. The error is only compiled into ruby-pg if it determines your postgresql version...

  • Robby Russell
    Robby Russell commented at 6:01 PM

    I'm running PostgreSQL 8.2.6 via MacPorts on Leopard.

    Gem: postgres (0.7.9.2008.01.09)

  • Robby Russell
    Robby Russell created the ticket at 5:49 PM

    Just upgraded to edge Rails and started to see this. It looks like the connection responds to server_version but libpq doesn't on my machine. Saw a few mention...

209 Added :environment options to config.gem was updated
  • José Valim
    José Valim commented at 7:02 PM

    Searching the code I had more results with ENV['RAILS_ENV'], so I've used that one. =)

  • Rick
    • Milestone set to 2.1.1
    • State changed from new to open
    • Assigned user set to Rick
    by Rick at 6:48 PM

    Is there a reason you're using ENV['RAILS_ENV'] and not Rails.environment?

  • José Valim
    José Valim commented at 6:26 PM

    Oh, if :environment is not sent, like:

    config.gem "hpricot", :version => '0.6', :source => "http://code.whytheluckystiff.net"

    We have the default behaviour, ...

  • José Valim
    José Valim created the ticket at 6:21 PM

    This way we can specify which gems will be loaded in each environment. This is useful since we don't want ZenTest or ruby-debug running in production.

    Usage:

    ...

203 Added fragment_exist? method was updated
  • José Valim
    José Valim commented at 6:16 PM

    Ok, patch done in the right away!

    Would be nice if someone adds to the tutorial http://rails.lighthouseapp.com/p..., that you have to do a commit to the worki...

  • Pratik
    Pratik commented at 4:10 PM

    If you look at the generated diff files, you'll see things like :

    diff --git a/activesupport/lib/active_support/cache.rb b/activesupport/lib/active_support/ca...

  • José Valim
    José Valim commented at 4:06 PM

    1. I think that it's a problem with cygwin (yep, I'm using Windows =/)

    2. What do You mean with changing permission of files?

  • Pratik
    • Assigned user set to Tobias Lütke
    by Pratik at 3:30 PM
  • Pratik
    Pratik commented at 3:27 PM

    Few things.

    1. Could you please use git-format-patch ? It should be possible to get help in #git, #github or #rails-contrib if you're having troubles with tha...

141 assert_response assumes a rendered template was updated
  • Pratik
    • State changed from incomplete to open
    by Pratik at 5:42 PM
  • Chris Hapgood
    Chris Hapgood commented at 4:38 PM

    Since I had gone to the trouble of writing a failing test before I found Jeremy's patch on Edge, I figured it would be a good idea to add the test anyway.

    Att...

  • Chris Hapgood
    Chris Hapgood commented at 2:24 PM

    Jeremy fixed this already in Edge (Commit eb837b52e34c1f7f0c71d704ffdb3e4eb4b582e2).

Ensure routing generator works with n... was committed by Repository at 5:37 PM
172 Altered Rails Route Globbing breaks when non-strings passed was updated
  • Repository
    Repository commented at 5:37 PM

    (from [345f030c5b6c0a28ddde56c80a1112b00d345c79]) Ensure routing generator works with non-string keys. [#172 state:resolved]

    Make sure that (with recent corre...

  • Pratik
    Pratik commented at 5:37 PM

    Committing using .to_param instead of .to_s and minor modification to the test.

    Thanks.

195 Convenience methods for time zones outside the U.S. was updated
  • Martin Eisenhardt
    Martin Eisenhardt commented at 3:19 PM

    OK, I got the point: This functionality is better implemented in an i18n plugin. No worries.

    But: You should really think about what kind of impression it mak...

  • Geoff Buesing
    Geoff Buesing commented at 2:37 PM

    Here's an example of how to float a custom grouping of zones to the top of time_zone_select:

    # config/initializers/time_zones.rb:
    MY_ZONES = [ TimeZone['Alas...
  • Bryce
    Bryce commented at 6:16 AM

    I'm advocating that we only add additional TimeZone convenience methods to core if we can prove there's a common need for them in real-world applications.

    De...

  • Geoff Buesing
    Geoff Buesing commented at 4:36 AM

    To be clear, I'm not advocating leaving out one world region. I'm advocating that we only add additional TimeZone convenience methods to core if we can prove t...

dbconsole should not require a userna... was committed by Repository at 1:12 PM
207 dbconsole needn't require a username for postgresql was updated
  • Repository
    • State changed from new to resolved
    by Repository at 1:12 PM

    (from [77f873acf2f1fb4533dfca6b26b965a115ebbc54]) dbconsole should not require a username for postgresql. [#207 state:resolved]

    Signed-off-by: Pratik Naik

    h...

  • Kyle Hargraves
    Kyle Hargraves created the ticket at 12:56 PM

    If you don't have a username set in your database.yml when using the postgresql adapter, you can't launch dbconsole. Patch attached fixes that.

auto_link helper fails to recognize l... was committed by Repository at 1:03 PM
205 Rescue handlers should only run for non-local requests was updated
  • Pratik
    • State changed from new to invalid
    by Pratik at 12:44 PM

    It's very common to use rescue_from along with AR#save! method to render 'edit' or 'new' on validation failures, irrespective of dev/prod mode. And many simila...

Add rdoc task to activemodel. [#156 s... was committed by Repository at 10:36 AM
156 Add rdoc task for activemodel was updated
  • Repository
    • State changed from hold to resolved
    by Repository at 10:36 AM

    (from [3baf810482303126c75daa7915e200030d1755e0]) Add rdoc task to activemodel. [#156 state:resolved]

    Signed-off-by: Pratik Naik

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

  • Jake Howerton
    Jake Howerton commented at 6:31 AM

    Removed main Rakefile hack.

206 Improve Rails.env was created