Send text field value to ruby hash
===

I have simple text field if RoR 3.2 app. Each time when user enter a new value in this text field I want to save it in ruby hash or array. Is it possible in rails?