Andreas Mayer
Not a member
Andreas Mayer's latest activity
Saturday, October 30 2010
5886
strip_tags marks as html_safe incorrectly
was updated
in Ruby on Rails
-
- Tag changed from rails 3.0.0, html_safe, patch to rails 3.0.1, actionview, html_safe, patch
Friday, October 29 2010
5886
strip_tags marks as html_safe incorrectly
was updated
in Ruby on Rails
-
- Tag changed from rails 3.0.0, html_safe to rails 3.0.0, html_safe, patch
please review
-
Andreas Mayer commented at 2:28 PMWorkaround:
h(String.new(strip_tags("Strip <i>these</i> \"tags\"!"))) -
Andreas Mayer created the ticket at 2:10 PMRails 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 commented at 12:05 AMHave 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 commented at 5:17 PMSolved 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
Sunday, March 21 2010
4249
[rails3 beta] "rails runner" can't be used in shebang lines
was updated
in Ruby on Rails
-
- Title changed from "rails runner" can't be used in shebang lines to [rails3 beta] "rails runner" can't be used in shebang lines
-
Andreas Mayer created the ticket at 11:23 PMIn 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/runnerso...
Friday, November 20 2009
3499
render :nothing => true should set HTTP status 204
was created
in Ruby on Rails
-
Andreas Mayer created the ticket at 8:24 PMI 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...