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.

Michael Koziarski's latest activity

Monday, January 12 2009
1730 ActiveResource::Base.prefix isn't reset correctly when ActiveResource::Base.s... was updated in Ruby on Rails
  • Michael Koziarski
    • Milestone cleared.
    by Michael Koziarski at 5:25 AM

    Short version is that class variables don't play nice with inheritance. So if you set it on ChildClass it overrides ParentClass

1728 Accessor methods for association instances. was updated in Ruby on Rails
  • Michael Koziarski
    • Milestone cleared.
    • Assigned user set to Michael Koziarski
    by Michael Koziarski at 5:20 AM

    This actually subtly changes the semantics as it doesn't do a test for instance_variable_defined?(...)

    However, that doesn't actually seem to matter...

Thursday, January 08 2009
1608 Update instructions and config for building Rails via CI Server was updated in Ruby on Rails
Wednesday, January 07 2009
1619 Support for :inverse option in associations was updated in Ruby on Rails
  • Michael Koziarski
    Michael Koziarski commented at 1:51 AM

    The inverse on associations will mean that walking associations will always return the same instance. So things like

    user.posts.first.user.posts.map(&:user).fi...

Tuesday, January 06 2009
1619 Support for :inverse option in associations was updated in Ruby on Rails
  • Michael Koziarski
    Michael Koziarski commented at 8:39 PM

    Chris,

    While I appreciate you taking the time to post your comments here, I can't accept your absolutist approach.

    There are dozens of real world scenarios that...

Sunday, December 28 2008
1083 Calls to private methods via association proxies should act consistently with... was updated in Ruby on Rails
  • Michael Koziarski
    Michael Koziarski commented at 10:14 PM

    If you override method_missing in ruby, it's good practise for you to override respond_to? also. If you fix that, everything will continue working.

Wednesday, December 17 2008
1585 action caching sets wrong content-type when :cache_path is a string was updated in Ruby on Rails
  • Michael Koziarski
    • Milestone cleared.
    • Assigned user set to Michael Koziarski
    by Michael Koziarski at 1:46 PM
764 Observers on a model are called multiple times was updated in Ruby on Rails
  • Michael Koziarski
    Michael Koziarski commented at 12:50 PM

    Did you have any require statements in your application?

    Essentially our code shouldn't ever do that, if you've triggered it somehow we should open another tick...

  • Michael Koziarski
    • Assigned user set to Michael Koziarski
    • State changed from new to wontfix
    by Michael Koziarski at 10:27 AM

    Requiring the class files multiple times isn't something that we support, as you'll probably hit other issues too.

    Similarly this only fixes it for callbacks wh...

1202 Add attributes writer method for an association. was updated in Ruby on Rails
  • Michael Koziarski
    Michael Koziarski commented at 12:29 PM

    I'm also travelling for a week or two but intend to take a closer look when I get back on deck.

    Things will slip a bit over the holidays, but we'll get there :)