diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-08-15 09:15:31 -0700 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-08-15 09:15:31 -0700 |
commit | ebb4a3d5becd535074502a4bf1b61a5b18e30917 (patch) | |
tree | 0037cc170ee3131bcf731a1e89768abc4894afe1 /activesupport/test/multibyte_chars_test.rb | |
parent | bf5f6562c0e7e5b9ac623d5e036a784e25dea937 (diff) | |
parent | 6446e84c1a0d72ecdba1046c3e15b4467eae9e5b (diff) | |
download | rails-ebb4a3d5becd535074502a4bf1b61a5b18e30917.tar.gz rails-ebb4a3d5becd535074502a4bf1b61a5b18e30917.tar.bz2 rails-ebb4a3d5becd535074502a4bf1b61a5b18e30917.zip |
Merge pull request #7244 from lucasuyezu/master
Fix indentation on template errors to consider line number character count.
For instance, when an error is shown, if the related source code snippet has line numbers from, lets say, 8-12, the lines are left aligned, which means the code indent is wrong:
8: foo
9: bar
10: raise
11: baz
12: ...
This changes it to right align the source code snippet, so that the indentation is correct:
8: foo
9: bar
10: raise
11: baz
12: ...
Diffstat (limited to 'activesupport/test/multibyte_chars_test.rb')
0 files changed, 0 insertions, 0 deletions