On 12/06/07, Daniel Liebig <daniel.liebig / wevin.de> wrote:
>    def assign_params params
>      params.each { | key, value | eval "@#{key} = '#{value}'" }
>    end

def assign_parmas(params)
  params.each {|key,variable| instance_variable_set("@{key}",value)}
end

Farrel