diff options
author | Aman Gupta <aman@tmm1.net> | 2013-03-04 20:40:58 -0800 |
---|---|---|
committer | Aman Gupta <aman@tmm1.net> | 2013-03-04 20:41:00 -0800 |
commit | bd308a0d02c4a6459c05770a564405986a663f47 (patch) | |
tree | 8ed96e5ede32b65929c654739a51c6a1c4e8b77d /activerecord/lib/active_record/relation.rb | |
parent | b1c4469f9cb3800adb99d062c6748154bc0e1b16 (diff) | |
download | rails-bd308a0d02c4a6459c05770a564405986a663f47.tar.gz rails-bd308a0d02c4a6459c05770a564405986a663f47.tar.bz2 rails-bd308a0d02c4a6459c05770a564405986a663f47.zip |
avoid extra method calls for appending newlines
before:
');@output_buffer.append= ( content_icon row[:content] );@output_buffer.safe_concat('
');@output_buffer.safe_concat(' ');@output_buffer.append= ( spinner_img );@output_buffer.safe_concat('
');@output_buffer.safe_concat(' </td>
<td class="content">
');@output_buffer.append= ( content_link row[:content] );@output_buffer.safe_concat('
');@output_buffer.safe_concat(' </td>
<td class="message">
');
after:
';@output_buffer.append=( content_icon row[:content] );@output_buffer.safe_append='
';@output_buffer.append=( spinner_img );@output_buffer.safe_append='
</td>
<td class="content">
';@output_buffer.append=( content_link row[:content] );@output_buffer.safe_append='
</td>
<td class="message">
';
Diffstat (limited to 'activerecord/lib/active_record/relation.rb')
0 files changed, 0 insertions, 0 deletions