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.

Sam Ruby's latest activity

Saturday, January 09 2010
3676 I18N Lazy lookup doesn't work in 3.0.pre was updated in Ruby on Rails
Wednesday, January 06 2010
2409 activerecord double escapes error_messages_for was updated in Ruby on Rails
  • Sam Ruby
    Sam Ruby commented at 10:08 PM

    Another issue, noticed by inspection:

    • html_escape (action_view/erb/util.rb) respects html_safe

    • escape_once (action_view/helpers/tag_helper.rb) does not resp...

Tuesday, January 05 2010
2409 activerecord double escapes error_messages_for was updated in Ruby on Rails
  • Sam Ruby
    • State changed from incomplete to open
    • Assigned user changed from Sam Ruby to José Valim
    by Sam Ruby at 4:12 PM

    "i18n messages are html-safe when using the t helper"

    The net effect of that is the answer to "are i18n messages considered to be html-safe?" is "it depends"; w...

Sunday, January 03 2010
3555 Remove railties/.../scaffold_generator.rb: template "layout.html.erb" was updated in Ruby on Rails
  • Sam Ruby
    • State changed from new to invalid
    • Assigned user cleared.
    by Sam Ruby at 12:35 AM

    Already is an option:

    config.generators.layout false
    script/generate scaffold posts --layout=false
    script/generate scaffold posts --no-layout

Sunday, December 27 2009
3618 Unable to create a rails application using system gems was updated in Ruby on Rails
  • Sam Ruby
    • State changed from new to resolved
    • Assigned user set to José Valim
    by Sam Ruby at 11:00 PM
Saturday, December 26 2009
2409 activerecord double escapes error_messages_for was updated in Ruby on Rails
  • Sam Ruby
    • State changed from wontfix to incomplete
    • Assigned user changed from Michael Koziarski to Sam Ruby
    by Sam Ruby at 5:22 PM

    The problem is that some view methods (e.g., labels and selection boxes) don't escape, and some do. At the minimum, this is poorly documented, but potentially c...

3618 Unable to create a rails application using system gems was created in Ruby on Rails
3617 integration_test#post returns 422 response was created in Ruby on Rails
  • Sam Ruby
    Sam Ruby created the ticket at 1:29 PM

    Reproduction instructions:

    ruby script/generate scaffold cart
    rake db:migrate
    rake db:test:prepare
    
    ruby script/generate integration_test cart_stories
    sed -i -...