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, April 18 2008
6 ActiveResource::Connection should rescue from Timeout::Error was updated
  • Cheah Chu Yeow
    • Title changed from [PATCH] ActiveResource::Connection should rescue from Timeout::Error to ActiveResource::Connection should rescue from Timeout::Error
    by Cheah Chu Yeow at 4:06 AM
5 Introduce ActiveResource::Base.timeout to allow Net::HTTP#read_timeout to be set was updated
  • Cheah Chu Yeow
    • Title changed from [PATCH] Introduce ActiveResource::Base.timeout to allow Net::HTTP#read_timeout to be set to Introduce ActiveResource::Base.timeout to allow Net::HTTP#read_timeout to be set
    by Cheah Chu Yeow at 4:05 AM
Thursday, April 17 2008
10 Immediate flash values not accessible in tests was updated
  • josh
    • State changed from new to open
    • Assigned user set to josh
    by josh at 10:13 PM

    I think you should have to test it with flash.now not just flash.

    assert_equal 'Invalid', request.session["flash"].now["notice"]
    # but I guess flash_now is o...
18 Efficient include breaks when using finder_sql was created
Ticket Guidelines was edited by josh in Ruby on Rails at 7:51 PM (+4 more edits)
Fix migrations when migrating to a sp... was committed by Repository at 7:44 PM
1 Migrations will not run on a fresh database was updated
  • Repository
    • State changed from open to resolved
    by Repository at 7:44 PM

    (from [82b4faf81218bbd8916ab559590db236c7f80e46]) Fix migrations when migrating to a specified version number with a fresh database [#1 state:resolved]

    Signed...

  • josh
    • State changed from new to open
    • Assigned user set to josh
    • Title changed from Since r9244, migrations broken on clean db to Migrations will not run on a fresh database
    by josh at 7:33 PM
17 Double DISTINCT in calculations with eager loading on sqlite2 was created
  • Frederick Cheung
    Frederick Cheung created the ticket at 7:40 PM

    11502:http://dev.rubyonrails.org/ticket/11502 fixed a calculations bug todo with counting distinct records. sqlite2 (and early versions of 3) go down a slightl...

7 cleanlogs.sh doesnt clean up after ActiveResource's debug log was updated
  • Sam Granieri
    • Title changed from [PATCH] cleanlogs.sh doesnt clean up after ActiveResource's debug log to cleanlogs.sh doesnt clean up after ActiveResource's debug log
    by Sam Granieri at 7:35 PM
16 Sqlite adapter does handle quoted table names properly was created
  • Frederick Cheung
    Frederick Cheung created the ticket at 7:34 PM

    As of sqlite 3.5.7 (but not with 3.4.0), the sqlite adapter does not handle quoted table names properly. On 2.0.2 this was not apparent as its quote_table_name...

Source Style was edited by josh in Ruby on Rails at 7:07 PM
15 Doc for ActionController::Resources::Resource.resources was updated
  • josh
    • Assigned user set to Pratik
    • Title changed from [PATCH] Doc for ActionController::Resources::Resource.resources to Doc for ActionController::Resources::Resource.resources
    by josh at 7:05 PM
  • Chris Lloyd
    Chris Lloyd created the ticket at 2:23 AM

    Updated documentation for map.resources :requirements.

14 Support options passed to ActiveSupport::Cache :mem_cache_store was updated
  • josh
    josh commented at 7:02 PM

    Nice work, I'd consider this ticket for the "ideal" patch. Has a nice write up, simple implementation, tests, a diff patch, and a github fork. Great work, plea...

  • Repository
    • State changed from open to resolved
    by Repository at 6:59 PM

    (from [9e1d506a8cfedef2fdd605e4cbf4bf53651ad214]) Support options passed to ActiveSupport::Cache :mem_cache_store [#14 state:resolved]

    Signed-off-by: Joshua P...

  • josh
    • State changed from new to open
    • Assigned user set to josh
    • Title changed from [PATCH] make the new ActiveSupport::Cache :mem_cache_store accept options to Support options passed to ActiveSupport::Cache :mem_cache_store
    by josh at 1:21 AM
Support options passed to ActiveSuppo... was committed by Repository at 6:59 PM
12 [PATCH] bounded params in find(...:from) was updated
  • Dan Barry
    Dan Barry commented at 4:04 PM

    My tests look worse and worse every time I see them, but I can't think of a way to make them clearer without writing (and testing in every supported db) a db f...

9 Adding records to a has_many collection does not work on initialization was updated
  • Andreas Neuhaus
    Andreas Neuhaus commented at 3:33 PM

    Joshua: yes, I'm trying with rails edge pulled from git.

    The problem occurs, if you create an object of a model which builds associated objects during initial...

  • Andreas Neuhaus
    Andreas Neuhaus commented at 2:37 PM

    Interestingly, the test also passes for me. But the bug still occurs when using the console of a project where I disabled the described workaround.

    Though I d...

  • Simon Jefford
    Simon Jefford commented at 1:36 PM

    I can only get this to happen inside script/console.

    Again, using the models described by Andreas, I ran the following using script/runner:

    u = User.new(:use...
5 [PATCH] Introduce ActiveResource::Base.timeout to allow Net::HTTP#read_timeou... was updated
  • Cheah Chu Yeow
    Cheah Chu Yeow commented at 3:34 AM

    Hehe thanks Frederick. Sorry but I can't edit my original ticket!

13 Allow SEO friendly resources (ex. /my-resources) was updated
  • Doug Ramsay
    Doug Ramsay commented at 1:36 AM

    Joshua

    I think you're reading the patch wrong. If somebody puts in a resource such as:

    :my_resources

    the resource will be unaffected. The change will only a...

  • josh
    • Title changed from [PATCH] Allow SEO friendly resources (ex. /my-resources) to Allow SEO friendly resources (ex. /my-resources)
    by josh at 1:12 AM
  • josh
    • State changed from new to open
    • Assigned user set to josh
    by josh at 1:09 AM

    So this will change any resource with an _ to a -? Example, /open_tickets becomes /open-tickets. If so this is going break everyones urls.

Wednesday, April 16 2008
13 [PATCH] Allow SEO friendly resources (ex. /my-resources) was updated
  • Sam Granieri
    Sam Granieri commented at 11:35 PM

    As soon as the patch is modified with tests that verify that it works and it doesnt break anything else i'll give it a +1

  • jack dempsey (jackdempsey)
    jack dempsey (jackdempsey) commented at 9:47 PM

    Looks good! +1

  • Doug Ramsay
    Doug Ramsay created the ticket at 9:29 PM

    Updated actionpack/lib/action_controller/resources.rb to generate

    standard controller name from resource containing hyphen

    (ex. :'my-resources').

    Updated ac...

9 Adding records to a has_many collection does not work on initialization was updated
  • Simon Jefford
    Simon Jefford commented at 10:43 PM

    I've had a quick poke around with this and I can't seem to get a failing test either. However, I was able to replicate the problem in a Rails app using the exa...

  • josh
    • State changed from new to open
    by josh at 8:17 PM
  • josh
    • Assigned user set to josh
    by josh at 8:16 PM

    I wrote up some ActiveRecord tests for it, however they are passing for me. Did you try this on edge? Or are my test cases not covering the same thing you are ...

  • Andreas Neuhaus
    Andreas Neuhaus created the ticket at 5:54 PM

    (from Trac http://dev.rubyonrails.org/ticke.... As far as I know, this is still an issue)

    class User < AR:Base
      has_many :email_addresses
      def email= (add...
14 [PATCH] make the new ActiveSupport::Cache :mem_cache_store accept options was created
  • Jonathan Weiss
    Jonathan Weiss created the ticket at 9:43 PM

    The inclusion of Memcache-Client to ActiveSupport::Cache made it easier to use but also removed the flexibility to supply custom options.

    This patch(+unit tes...

12 [PATCH] bounded params in find(...:from) was created
  • Dan Barry
    Dan Barry created the ticket at 7:42 PM

    Add the ability to pass in bounded parameters in the :from part of a find call. This is useful for selecting from a db function or stored procedure which needs...

11 Feature: has_many :through named_scope was updated
  • josh
    • State changed from new to invalid
    by josh at 7:38 PM

    I still think we are maintaining the policy of no "Feature Requests" without any sort implementation code.

    I'd try the mailing list to see if anyone has any i...

  • Andreas Neuhaus
    Andreas Neuhaus created the ticket at 6:09 PM

    It would be nice to be able to use a has_many association through a named scope. E.g. if a user has many posts, and a post has many comments, one can use a nam...

7 [PATCH] cleanlogs.sh doesnt clean up after ActiveResource's debug log was updated
  • josh
    • Assigned user set to josh
    • State changed from new to resolved
    by josh at 7:18 PM
  • Sam Granieri
    • Title changed from cleanlogs.sh doesnt clean up after ActiveResource's debug log to [PATCH] cleanlogs.sh doesnt clean up after ActiveResource's debug log
    by Sam Granieri at 2:51 PM
  • Sam Granieri
    Sam Granieri created the ticket at 2:50 PM

    This little patch should take care of it

Ignore debug logs and ensure ActiveRe... was committed by Repository at 7:17 PM
10 Immediate flash values not accessible in tests was created
8 Fixture caching does not work with prefixed/suffixed tables was created
  • Rhett Sutphin
    Rhett Sutphin created the ticket at 5:18 PM

    The fixture caching introduced with Rails 2 doesn't work if your project uses ActiveRecord::Base.table_name_prefix (or _suffix). You will get a NoMethodError ...

5 [PATCH] Introduce ActiveResource::Base.timeout to allow Net::HTTP#read_timeou... was updated