Hi All, Thanks for your kind information. I requested to my client for provide a full code to me. And also suggest the output format like this, accounts=["id", "group_id", "company_id", "number", " name", " opening_balance", " description", " editable", " updated_at", " source_account", " deleted_status", " alias", " closing_balance", " flag"] output=[accounts,blogs] I have only the above output format which is mentioned the Top of the Post.Thats why asking suggestion from U Guys. Anyway let u know after getting info from My client. Thanks, P.Raveendran http://raveendran.wordpress.com -- Posted via http://www.ruby-forum.com/.