rails/rails — pull request #6847 by benolee (2012-06-24 19:50:04+00:00)
Title: correct line numbers for reader and writer methods

The line number for the reader method is off by one due to the local variable `line` being reassigned to the writer's line.

This commit would provide correct line numbers for backtraces and method introspection (for example, `method(:reader).source_location`).

I apologize in advance for the brevity of this commit -- I am submitting this from a phone using GitHub's "Edit this file" feature.