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 22 2008
Fix failing tests on mysql 4.1 & ruby... was committed by Repository at 12:24 PM
237 Fix failing tests on mysql 4.1.x & ruby 1.8.4 was updated
  • Repository
    • State changed from new to resolved
    by Repository at 12:24 PM

    (from [cff2291df5d1df106ae8cf116655f0703f53f8c3]) Fix failing tests on mysql 4.1 & ruby 1.8.4. [#237 state:resolved]

    Signed-off-by: Pratik Naik

    http://githu...

  • Frederick Cheung
    Frederick Cheung created the ticket at 11:27 AM

    Two more test failures: older versions of mysql require that decimal values be quoted, & ruby 1.8.4 formats timezones as +0500 instead of +05:00

Show rails version when the server st... was committed by Repository at 12:24 PM
235 Output Rails version when starting server was updated
  • Repository
    • State changed from new to resolved
    by Repository at 12:24 PM

    (from [c2036adf7658f56c924e2a206731ee63b628f34f]) Show rails version when the server starts. [#235 state:resolved]

    Signed-off-by: Pratik Naik

    http://github....

  • Ryan Bates
    Ryan Bates commented at 12:34 AM

    +1 I've wanted this functionality. Looks great to me!

227 complex versions in config.gem fails was updated
  • Pratik
    • Assigned user set to Rick
    by Pratik at 12:23 PM

    Could you please use git-format-path ?

    Thanks.

Add Rails.version. [#236 state:resolv... was committed by Repository at 12:00 PM
236 Add Rails.version was updated
  • Repository
    • State changed from new to resolved
    by Repository at 12:00 PM

    (from [4e084c3d9860c31fca21395c13031f04bb510b15]) Add Rails.version. [#236 state:resolved]

    Signed-off-by: Pratik Naik

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

  • Ryan Bates
    Ryan Bates created the ticket at 12:21 AM

    This small patch adds Rails.version which just calls Rails::VERSION::STRING. I think it's much nicer to look at and remember, and it goes well with the other R...

Parentheses should be acceptable char... was committed by Repository at 11:33 AM
234 Make auto_link accept parentheses in URLs was updated
  • Repository
    • State changed from new to resolved
    by Repository at 11:33 AM

    (from [314e556e6fb7278e37f6105fedbe5fc51f7f848a]) Parentheses should be acceptable characters for auto_link_urls. [#234 state:resolved]

    Signed-off-by: Pratik ...

Home was edited by Michael Koziarski in Ruby on Rails at 5:27 AM
44 Custom resource paths was updated
  • Ivan Vega
    Ivan Vega commented at 12:15 AM

    Sorry it took so long :)

    Here is the new patch as requested. I hope I did everything right.

    I don't quite remember what was the bug I fixed, but it didn't af...

Fix mysql 4.1 incompatibility in the ... was committed by Repository at 12:04 AM
233 fix broken schema test on mysql 4.1 was updated
  • Repository
    • State changed from new to resolved
    by Repository at 12:04 AM

    (from [dd9938a44ee3a7bb6c42527a1be6fcec70bf4772]) Fix mysql 4.1 incompatibility in the active record schema tests.

    Signed-off-by: Michael Koziarski

    [#233 st...

Wednesday, May 21 2008
234 Make auto_link accept parentheses in URLs was updated
  • Ryan Bates
    Ryan Bates commented at 11:51 PM

    +1, tested patch and looks good. Nice job on your first submission!

  • Adam Traver
    Adam Traver created the ticket at 9:24 PM

    Currently, the regular expression used in auto_link_urls and, by association, auto_link, does not allow for parentheses in URLs.

    While this is not a very comm...

235 Output Rails version when starting server was created
  • Lawrence Pit
    Lawrence Pit created the ticket at 11:21 PM

    Tiny patch which outputs the rails version when starting the server.

124 Fixture named accessors do not work when the fixture name is not the table name was updated
  • Pratik
    • State changed from incomplete to open
    by Pratik at 11:17 PM
55 Remove default integer :limit from MysqlAdapter.native_database_types was updated
  • Mirko Froehlich
    Mirko Froehlich commented at 10:57 PM

    I am now convinced that this is the problem, i.e. rake db:test:clone results in integer columns that were originally created without an explicit limit in the m...

  • Mirko Froehlich
    • Assigned user set to DHH
    by Mirko Froehlich at 9:39 PM

    Actually this does not seem to be fixed. I am running into this issue as well:

    When I run "rake db:test:clone" in Rails 2.0.991, it now creates foreign key in...

229 raise_on_type_mismatch : expected User, got User was updated
  • Lawrence Pit
    Lawrence Pit commented at 10:55 PM

    @Roger that is what it's doing, it's only used as a backup

    @Pratik the test was in the wrong dir, I've attached two new files: one with the test, one with the...

  • Roger
    Roger commented at 5:05 PM

    I wonder if it couldn't use something like

    if is_a?(klass) or is_a?(eval(klass)) # only use the eval as a backup...

    -R

  • Pratik
    Pratik commented at 12:24 PM

    Yes I noticed.

    1. The tests pass even without the patch. Also, the patch is in wrong directory. Should be in ar/test/cases/

    2. Not really in favor of putting...

  • Lawrence Pit
    Lawrence Pit commented at 12:11 PM

    @Pratik : I suggest you look closer at my patch. It actually takes care of NOT showing the error message, something that ticket #189 does not do.

  • Pratik
    • State changed from new to invalid
    by Pratik at 10:27 AM
233 fix broken schema test on mysql 4.1 was created
  • Frederick Cheung
    Frederick Cheung created the ticket at 9:07 PM

    Mysql 4.1 does not support "SHOW FIELDS FROM xxx where yyyy". This patch works around that.

231 Calling reload on model should clear attribute changes was updated
  • Pratik
    Pratik commented at 8:45 PM

    Committed with a minor change.

    Thanks.

  • Repository
    • State changed from new to resolved
    by Repository at 8:43 PM

    (from [262d23d763c05bbe5f433a99cb9f02e48a8cdd4a]) ActiveRecord::Base#reload should clear dirty attributes. [#231 state:resolved]

    Signed-off-by: Pratik Naik

    ...

  • Ryan Bates
    Ryan Bates created the ticket at 4:41 PM

    Currently, calling reload on a model does not clear the attribute changes:

    product.name = "foo"
    product.changed? # => true
    product.reload
    product.changed? ...
232 ApplicationController loaded twise was created
  • Vitaly Kushner
    Vitaly Kushner created the ticket at 8:44 PM

    with the latest Edge rails ApplicationController is loaded twise

    once from actionpack/lib/action_controller/dispatcher.rb:18

    require_dependency 'application...

ActiveRecord::Base#reload should clea... was committed by Repository at 8:43 PM
Improve check_box_checked? to use inc... was committed by Repository at 8:25 PM
193 improve check_box_checked? to use include? with array values was updated
  • Repository
    • State changed from new to resolved
    by Repository at 8:25 PM

    (from [6e3521e6134e7f0d0b27834266e41354290c4e7e]) Improve check_box_checked? to use include? for Array values. [#193 state:resolved]

    Signed-off-by: Pratik Nai...

94 quote_string don't work with some postgres drivers was updated
  • Pratik
    • State changed from incomplete to open
    by Pratik at 8:15 PM
  • Lars Kanis
    Lars Kanis commented at 2:08 PM

    Thanks for answering.

    Attached you can find a i386-msvcrt-compiled older version (0.7.1) of the postgres-driver. With this version any database activity will ...

227 complex versions in config.gem fails was updated
  • jeff
    jeff commented at 6:03 PM

    this initial patch actually caused problems with gem:unpack / gem:install, unless you use code from the unpack_command.rb in rubygems to do a search prior to r...

192 AR Test failure on latest mysql was updated
  • Ryan Bates
    Ryan Bates commented at 5:53 PM

    Oops, sorry, that patch was bad. Please use this one.

  • Ryan Bates
    Ryan Bates commented at 5:50 PM

    I ran into this problem under MySQL 5.0.51b. Attached is a patch which checks the mysql version in the test and acts accordingly.

228 Add add_counter_cache_column to ActiveRecord migrations was updated
  • Damian Janowski
    Damian Janowski commented at 5:53 PM

    @Ryan Bates: adding the method to create_table and change_table is not so simple. Those take a TableDefinition, which is just that, a list of columns to be cre...

  • Damian Janowski
    Damian Janowski commented at 5:42 PM

    @Lawrence Pit: that's a good idea, but it doesn't work if I have non-standard associations (different foreign keys or table names). I guess edge cases would ha...

230 Fire model callbacks before notifying observers was updated
  • Jason Stewart
    Jason Stewart commented at 5:16 PM

    I'd also like to add that the tests look good, and firing the callbacks on the model before the observers seems to be the right thing to do.

  • Jason Stewart
    Jason Stewart commented at 5:05 PM

    +1. Looks good to me.

  • Craig Demyanovich
    Craig Demyanovich created the ticket at 3:57 PM

    While extracting some behavior from a model callback to an observer, I discovered that observers are notified before model callbacks are fired. I expected the ...

144 Bug in Rails Route Globbing was updated
  • Pratik
    Pratik commented at 1:54 PM

    Removing "patch" keyword.

    Thanks.

  • Pratik
    • Title changed from [PATCH] Bug in Rails Route Globbing to Bug in Rails Route Globbing
    by Pratik at 10:56 AM
Verbose ActiveRecord::AssociationType... was committed by Repository at 10:50 AM
189 ActiveRecord::AssociationTypeMismatch with same class name -- added helpful e... was updated
  • Repository
    • State changed from open to resolved
    by Repository at 10:50 AM

    (from [19d7b1d22bd68af00244ddc3e1f35cec187e9120]) Verbose ActiveRecord::AssociationTypeMismatch exception message. [#189 state:resolved]

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

57 :through option for "named_scope" was updated
  • Mathijs Kwik
    Mathijs Kwik commented at 10:26 AM

    I would like to add some thoughts on this topic.

    Combining/composing/through'ing named_scopes would be nice to have indeed, but I would like to mention that t...