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.

Rohit Arondekar's latest activity

Thursday, May 27 2010
4710 content_tag isn't rendering blocks correctly was updated in Ruby on Rails
  • Rohit Arondekar
    Rohit Arondekar commented at 5:14 AM

    Thanks (again) Santiago. Jonathan you have to use concat inside the content_tag block, so your function should be:


    def panel(title = ' ', &block)

    content_tag(...
  • Rohit Arondekar
    Rohit Arondekar commented at 4:13 AM

    I've attached a failing test for this issue.

  • Rohit Arondekar
    • Assigned user set to Mikel Lindsaar
    by Rohit Arondekar at 3:58 AM

    Confirmed on Rails master on 1.9.2-head in rails console. Output is in a pastie => http://pastie.org/979318

4701 ActionPack, 1.9.2-head 3 failing tests regarding encodings was updated in Ruby on Rails
  • Rohit Arondekar
    Rohit Arondekar commented at 3:32 AM

    +1 on the patch, the translation test now passes on 1.8.7 and 1.9.2-head.

  • Rohit Arondekar
    Rohit Arondekar commented at 3:12 AM

    Santiago, thanks for the proper fix. I've never used translation so I didn't know what t() is supposed to return. Any idea how to fix the first 2 failures?

Wednesday, May 26 2010
4701 ActionPack, 1.9.2-head 3 failing tests regarding encodings was updated in Ruby on Rails
  • Rohit Arondekar
    Rohit Arondekar commented at 4:32 PM

    Bad formatting in the original message.

    This is regarding the first 2 tests, asserts without force_encoding:

    The string literals have encoding of ASCII-8BIT
    ".....

  • Rohit Arondekar
    Rohit Arondekar commented at 7:31 AM

    The 3rd failure seems like a mistake in the return value of t. I've attached a patch to fix this (if it's indeed the problem).

4665 Suggestion: Change to create Rails 3.0 apps by `rails init app-name` was updated in Ruby on Rails
  • Rohit Arondekar
    Rohit Arondekar commented at 4:02 PM

    That's awesome news Mikel! Cheers Pyry for bringing it up and Justin for the patch. :)

  • Rohit Arondekar
    • Assigned user set to Mikel Lindsaar
    by Rohit Arondekar at 1:11 PM
4696 app.my_path_url is protected was updated in Ruby on Rails
  • Rohit Arondekar
    Rohit Arondekar commented at 1:04 PM

    I'm getting undefined method for Rails master on 1.9.2-head


    NoMethodError: undefined method escalation_definitions_path' for #<ActionDispatch::Integration::Ses...