extract arrays to constants in Mapper
Merge pull request #10301 from vipulnsward/extract_in_mapper

extract arrays to constants in Mapper
applies documentation guidelines
ActiveRecord -> Active Record