Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 8191

Show
Ignore:
Timestamp:
11/23/07 16:12:36 (1 year ago)
Author:
minam
Message:

use correct flag order in format string

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/exception_notification/views/exception_notifier/_environment.rhtml

    r7132 r8191  
    11<% max = @request.env.keys.max { |a,b| a.length <=> b.length } -%> 
    22<% @request.env.keys.sort.each do |key| -%> 
    3 * <%= "%*-s: %s" % [max.length, key, filter_sensitive_post_data_from_env(key, @request.env[key].to_s.strip)] %> 
     3* <%= "%-*s: %s" % [max.length, key, filter_sensitive_post_data_from_env(key, @request.env[key].to_s.strip)] %> 
    44<% end -%> 
    55