This gem will help you determine if an object is an array
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool