lundi 14 septembre 2015

Use params value with variable in ruby on rails? [duplicate]

This question already has an answer here:

I want to check if param key exists with a variable name and if it exists I want to use value something like params[filenamestring[-1]].

filenamestring is any array generate with split

Aucun commentaire:

Enregistrer un commentaire