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.

Denis Odorcic's latest activity

Tuesday, March 16 2010
4147 link_to generates incorrect hrefs was updated in Ruby on Rails
  • Denis Odorcic
    • Tag changed from default_url_options, patch, script_name, url_for to default_url_options, script_name, url_for
    by Denis Odorcic at 6:54 AM

    Spoke too soon, not all tests were passing, at least you guys are pointed in the right direction :) I think the failing tests I added should be correct though, ...

  • Denis Odorcic
    Denis Odorcic commented at 6:00 AM

    Deleted the fix of an existing test as it was reverted a few minutes ago by b9c48f519

  • Denis Odorcic
    • Tag set to default_url_options, patch, script_name, url_for
    by Denis Odorcic at 5:50 AM

    So I looked into this issue and it seems that script_name was introduced to url_for's url_options. It then gets prepended to the path that url_for generates, ho...

Monday, March 15 2010
4096 Limit failing on Arel Rails 3.0Beta was updated in Ruby on Rails
  • Denis Odorcic
    Denis Odorcic commented at 11:18 PM

    I'm pretty sure this is not a bug but just a bit confusing when using 'count'.

    @comments = Comment.where("user_id = ?", current_user).limit(10) @comments.count ...

Sunday, March 14 2010
4175 undefined method `mb_chars' for String was updated in Ruby on Rails
  • Denis Odorcic
    Denis Odorcic commented at 9:55 PM

    When I require 'active_support/core_ext' it works fine, not everything gets loaded when you require 'active_support', this is probably one of those things.

4154 expires_now broken was updated in Ruby on Rails
  • Denis Odorcic
    • Tag changed from 2.3.x, actioncontroller, cache-control to 2.3.x, actioncontroller, cache-control, patch
    by Denis Odorcic at 10:34 AM

    I've attached a patch for this and the failing test again because the original test had a name conflict.

Thursday, March 11 2010
4138 Rails 3 assets caching issues was updated in Ruby on Rails
  • Denis Odorcic
    Denis Odorcic commented at 5:53 AM

    I've attached a patch which fixes the asset_tag_helpers (javascript_include_tag and stylesheet_link_tag) by using config.perform_caching instead of ActionContro...

4139 [PATCH] Rails 3 prototype_helper causes exception when content_tags are neste... was updated in Ruby on Rails
  • Denis Odorcic
    Denis Odorcic commented at 2:39 AM

    Fixed last night by commit 4464b8e it seems.

Wednesday, March 10 2010
4139 [PATCH] Rails 3 prototype_helper causes exception when content_tags are neste... was updated in Ruby on Rails
  • Denis Odorcic
    • Title changed from with_output_buffer to [PATCH] Rails 3 prototype_helper causes exception when content_tags are nested within blocks
    by Denis Odorcic at 7:37 AM
  • Denis Odorcic
    Denis Odorcic created the ticket at 7:31 AM

    Note: This is in Rails 3
    The prototype_helper initializes a JavaScriptGenerator and passes in an empty array to with_output_buffer.
    If a content_tag is passed i...