added ActiveRecord::arrayAttributes to elasticsearch

fixes #3381