vendredi 4 août 2017

Getting a NameError (undefined local variable or method `“_”')

I am trying to initialize a collection through

 c = Collection.new(name: current_user.account.name + "_" + @form.form_name, description: @form.form_name,account: @form.account, data_types: columns, formats: columns)

The thing is that this works locally but on production I get this error

NameError (undefined local variable or method `“_”' for #<FormsController:0x0000001007a890>):

I have been trying to figure this out for the past couple of hours but to no avail

Aucun commentaire:

Enregistrer un commentaire