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.

There was a problem

You must be a member of this account.

Andreas Mayer's latest activity

Saturday, October 30 2010
5886 strip_tags marks as html_safe incorrectly was updated in Ruby on Rails
  • Andreas Mayer
    • Tag changed from rails 3.0.0, html_safe, patch to rails 3.0.1, actionview, html_safe, patch
    by Andreas Mayer at 2:31 PM
Friday, October 29 2010
5886 strip_tags marks as html_safe incorrectly was updated in Ruby on Rails
  • Andreas Mayer
    • Tag changed from rails 3.0.0, html_safe to rails 3.0.0, html_safe, patch
    by Andreas Mayer at 3:12 PM

    please review

  • Andreas Mayer
    Andreas Mayer commented at 2:28 PM

    Workaround:

    h(String.new(strip_tags("Strip <i>these</i> \"tags\"!")))
    
  • Andreas Mayer
    Andreas Mayer created the ticket at 2:10 PM

    Rails 3.0.0: strip_tags marks its result as html_safe but forgets that there may be quotes that must be converted to entities before the string is really HTML s...

Saturday, July 31 2010
990 association#build inconsistency was updated in Ruby on Rails
  • Andreas Mayer
    Andreas Mayer commented at 12:05 AM

    Have the same problem. Using the workaround. Will this be fixed in Rails 3 final?

Monday, July 26 2010
4944 accepts_nested_attributes_for and attr_accessor was updated in Ruby on Rails
  • Andreas Mayer
    Andreas Mayer commented at 5:17 PM

    Solved it using

    class TutorialStep < ActiveRecord::Base
      belongs_to :tutorial
      attr_accessor :download_remove
    
    ...
    
      def download_remove=(remove)
        self.d...
Sunday, July 25 2010
4944 accepts_nested_attributes_for and attr_accessor was updated in Ruby on Rails
  • Andreas Mayer
    Andreas Mayer commented at 4:09 PM

    Can confirm this for Rails 3 Beta 4

Sunday, March 21 2010
4249 [rails3 beta] "rails runner" can't be used in shebang lines was updated in Ruby on Rails
  • Andreas Mayer
    • Title changed from "rails runner" can't be used in shebang lines to [rails3 beta] "rails runner" can't be used in shebang lines
    by Andreas Mayer at 11:26 PM
  • Andreas Mayer
    Andreas Mayer created the ticket at 11:23 PM

    In Rails 2.3, I used the following line as shebang line for my scripts that should run in a Rails environment:

    #!/usr/bin/env /path/to/my/app/script/runner
    

    so...

Friday, November 20 2009
3499 render :nothing => true should set HTTP status 204 was created in Ruby on Rails
  • Andreas Mayer
    Andreas Mayer created the ticket at 8:24 PM

    I often see people using

    render :nothing => true, :status => 204

    in their controllers to set the correct HTTP status for "nothing": 204 No Content (see RFC 2616...