# File lib/arel/algebra/header.rb, line 15 def [](key) case key when String, Symbol then find_by_name(key) when Attribute then find_by_attribute(key) end end