From: Chris Date: 2006-05-25T07:29:39+09:00 Subject: Getting values from @params["variable"] with a string I want to retrieve values from params but cannot hardcode in the value in the brackets [:value]. I want to be able to have a variable in the bracket or a string, but it seems that it doesn't evaluate what is in the brackets. Any idea of how this can be done I want to loop through a bunch of column names and store a value from a text field of the same name for column in Particular.content_columns @particular.'column.name'= params[:'column.name'] end However whatever is put between the ' ' seems to have to be hard coded? Suggestions? Much appreciated -- Posted via http://www.ruby-forum.com/.