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)

Wednesday, May 14 2008
Create a seperate file for ActiveSupp... was committed by Repository at 6:49 PM
197 SQLiteAdapter fails with a dark message when creating columns when inside a t... was created
  • Gunnar Wolf
    Gunnar Wolf created the ticket at 6:45 PM

    While running some tests which require modifying some fields in a DB table, I ran across a problem that made me lose quite some time. The error I got when run...

190 Small named_scope_test.rb fix was updated
  • josh
    josh commented at 6:39 PM

    It seems like an obvious typo, but why are the tests passing without the fix?

  • Rick
    • Milestone set to 2.1.1
    • State changed from new to open
    • Assigned user set to Rick
    by Rick at 2:32 AM
  • Rodrigo Kochenburger
    Rodrigo Kochenburger created the ticket at 2:31 AM

    In the test that checks if named_scope is accessible through a has_many :through association was broken.

    There is a typo in it and the appropriate fixtures ar...

195 Convenience methods for time zones outside the U.S. was created
  • Martin Eisenhardt
    Martin Eisenhardt created the ticket at 6:38 PM

    In the TimeZone class in ActiveSupport, there is a convenience method us_zones that dynamically creates a list of all time zones for the U.S.

    As is easy to se...

Added conditional support to caches_a... was committed by Repository at 6:34 PM
166 caches_action with conditional was updated
  • Repository
    • State changed from open to resolved
    by Repository at 6:34 PM

    (from [7708650f73ddb4db300ea2059c60c1d907a4384e]) Added conditional support to caches_action [José Valim] [#166 state:resolved]

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

  • josh
    • State changed from incomplete to open
    by josh at 6:31 PM

    Hurray! Tests are passing. We'll take that patch ;)

  • Pratik
    • State changed from new to incomplete
    by Pratik at 12:15 PM

    Can you please use mocking instead of sleep(0.01) ?

    Thanks.

107 Level hooks for validations was updated
  • Michael Schuerig
    Michael Schuerig commented at 5:58 PM

    I have no better idea at the moment. Put abstractly, there needs to be a way to parameterize where a failed validation add its message.

  • josh
    josh commented at 5:20 PM

    Errr, I really don't like this either. How could we refactor validations so you could write a plugin easier?

  • Michael Schuerig
    Michael Schuerig commented at 12:34 PM

    Pratik, unfortunately this can't be done in a plugin without copying almost all of the validations -- which would be subject to break with changes in Rails.

    T...

  • Pratik
    Pratik commented at 12:17 PM

    I'm very tempted to say "Plugin material".

189 ActiveRecord::AssociationTypeMismatch with same class name -- added helpful e... was updated
  • Arya Asemanfar
    Arya Asemanfar commented at 4:30 PM

    Hi Pratik,

    If the suggestion-type language is too superfluous for a Rails error message, may I suggest two alternatives that avoids the Windows-esque type err...

  • Pratik
    • State changed from new to invalid
    by Pratik at 8:55 AM

    I think this should be in a plugin like http://groups.google.com/group/r...

    Thanks!

  • Arya Asemanfar
    Arya Asemanfar commented at 2:13 AM

    Sorry about that. I didn't know I wasn't supposed to fork Rails unless it's some big change. I deleted my fork.

  • Arya Asemanfar
    Arya Asemanfar commented at 12:12 AM

    I'm not sure if this is required or not, but here is my commit on my fork of Rails on GitHub:

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

  • Arya Asemanfar
    Arya Asemanfar created the ticket at 12:10 AM

    ActiveRecord raises an exception when the expected class for an association differs from the class of object trying to be assigned.

    Example:

    @post.comments <...
194 Serialized timestamps returns strings on load was updated
  • Jacob Atzen
    Jacob Atzen commented at 4:10 PM

    My schema definition is:

    create_table :cached_method_items do |t|

    t.string :key

    t.text :value

    t.datetime :expires_at

    t.timestamps

    end

    The model is hidde...

  • Rick
    • State changed from new to incomplete
    by Rick at 3:52 PM

    What does your model look like (specifically, the serialize call)?

    What does your model table schema look like (specifically the value field)?

    Why don't use ...

193 improve check_box_checked? to use include? with array values was created
  • Erkki Eilonen
    Erkki Eilonen created the ticket at 3:10 PM

    In certain cases it is preferable to call check_box multiple times with the same method but with a different checked_value. This makes it work assuming that ob...

141 assert_response assumes a rendered template was updated
  • Pratik
    Pratik commented at 2:39 PM

    One against edge would be nicer. But if you can't, then 2.0.x is fine too and I'll try to port it to edge.

    Thanks.

  • Chris Hapgood
    Chris Hapgood commented at 1:01 PM

    I can write a failing test against 2.0.2, but to get one against edge is going to take me a while. Would 2.0.2 be good enough?

    -Chris

  • Pratik
    • State changed from new to incomplete
    by Pratik at 11:44 AM

    Could you please add a failing test case ?

    Thanks.

187 ActionView register_template_handler missing in 2.1 RC 1 was updated
  • Pratik
    • State changed from new to invalid
    by Pratik at 11:43 AM

    This should be fixed in development version of haml. Please use haml from http://github.com/nex3/haml/tree... and may be convince Nathan to release a new gem :...

155 Bazaar Version Control Integration was updated
  • Daniel Schierbeck
    Daniel Schierbeck commented at 9:37 AM

    That sounds reasonable, I'll have a look at it when I find the time.

114 Namespaced models and STI was updated
  • Rick
    Rick commented at 3:12 AM

    No worries.

    Just FYI there are three issues remaining:

    • HasManyThroughAssociation#build_sti_condition, as Jonathan mentioned above.
    • ActiveRecord::Base#type_...
  • Rodrigo Kochenburger
    Rodrigo Kochenburger commented at 1:18 AM

    That's great. Thanks Rick.

    About having extra table, sorry about that. I did that to avoid breaking other things, my bad.

191 Belongs to polymorphic association assignment with new_records doesn't update was updated
  • Rick
    • Milestone set to 2.1.1
    • State changed from new to open
    • Assigned user set to Rick
    by Rick at 2:34 AM
192 AR Test failure on latest mysql was created
  • Rick
    Rick created the ticket at 2:33 AM

    getting this for 5.0.51a when running the AR test suite:

    test_nil_defaults_for_not_null_columns(DefaultTest)
        [./test/cases/defaults_test.rb:17:in `test_n...
176 2.1_RC1 won't load on stock leopard setup was updated
  • Mike Wyatt
    Mike Wyatt commented at 12:32 AM

    do you have any config.gem lines in your environment.rb file?

Tuesday, May 13 2008
Add ActiveRecord option to store the ... was committed by Repository at 11:23 PM
114 Namespaced models and STI was updated
  • Repository
    Repository commented at 11:23 PM

    (from [bca8751e40a5594c4de2ca58e089b8d98e44632b]) Add ActiveRecord option to store the full class name on STI's type column, allowing one to have STI subclasse...

  • Rick
    • State changed from incomplete to open
    by Rick at 11:23 PM
  • Rick
    Rick commented at 9:55 PM

    Also, I'm going to remove the choice since it shouldn't break for anyone. Anyone using STI without namespaced models will be unaffected, and this bug is basic...

  • Rick
    • Milestone set to 2.1.1
    • Assigned user set to Rick
    by Rick at 9:51 PM

    I really want this in 2.1. Though, the default should be off to keep the existing behavior, and on for Rails 3.0 and forward.

    I also agree that the new table...

188 Single table inheritance bug only in production environment was updated
  • Joshua J. Born
  • Joshua J. Born
    Joshua J. Born commented at 10:45 PM

    I'm not sure why this occurred only when Rails was loaded in its production environment and not the development environment, but this seems to be due to the do...

  • Joshua J. Born
    Joshua J. Born created the ticket at 10:32 PM

    With ActiveRecord 2.0.2, define the following classes.

    class A < ActiveRecord::Base

    class B < A

    class C < B

    Implement all three with single table inheritan...

166 caches_action with conditional was updated
  • Pratik
    Pratik commented at 10:21 PM

    Works fine for me.

  • josh
    • Assigned user set to josh
    by josh at 10:15 PM

    Looks good, but its making my AR integration tests fail for some reason. Maybe it has something todo w/ the tests you changed. Anyone else having this problem?...

138 script/generate glitch for controllers in modules was updated
Fixed generator collisions for nested... was committed by Repository at 10:03 PM
Add some test coverage for RailsContr... was committed by Repository at 9:50 PM
187 ActionView register_template_handler missing in 2.1 RC 1 was created
  • Steve Eley
    Steve Eley created the ticket at 9:36 PM

    The HAML plugin breaks on Rails 2.1 RC 1 because it attempts to register itself as a template handler, and results in error:

    /Library/Ruby/Gems/1.8/gems/haml-...

172 Altered Rails Route Globbing breaks when non-strings passed was updated
  • Rick
    • State changed from incomplete to open
    by Rick at 9:13 PM
  • Sven Fuchs
    Sven Fuchs commented at 9:12 PM

    Sure :)

    Attached patch includes a failing test case as well as the fix and is done with git-format-patch.

185 [PATCH] environment.rb template 'rake gem:install' should be 'rake gems:install' was updated
  • Pratik
    • State changed from new to invalid
    by Pratik at 9:07 PM

    Could you please send me ('lifo') a PM at github and I'll add you to commit list of docrails http://github.com/lifo/docrails - so that you can commit the patch...

Fix tests broken by mocha absence [#1... was committed by Repository at 9:04 PM