Changed implementaion to display input boxes in the setup view and serialize array data using rails serialize.