Deprecate record.__index__(field_name) in favor of record.__record__(:index, field_name)
Working on a solution, unless someone else has something started.
Motivation?
@yrashk I think we should reduce the "metadata" functions if we can. What do you think?
First reaction: "more to type". Not agreeing or disagreeing with the reality of this need.
I like the idea that one module should only produce one metadata function. It reduces the chance of collisions if one should have many use Module statements that generates metadata functions.
Sent a pull request (#1417) with a possible implementation.