rails/rails — pull request #8019 by lest (2012-10-24 11:37:13+00:00)
Title: use defined? in calculated ip memoization

There is no need in additional `@calculated_ip` instance variable as we
can use `defined?` to check if `@ip` instance variable is already
assigned.