2015-04-17 57 views

回答

2
@customer_activities.each do |activity| 
    activity['name'] = activity['name'].titleize 
end 
+0

噢,我的上帝,我覺得自己像個白癡...感謝 – snowflakekiller

+3

理想情況下,應該已經像'titleize!',但不幸的是沒有。 – Saurabh