jeudi 25 janvier 2018

undefined method when trying to send params from a controller to another

I'am having an issue in rails when i'am trying to send params from a controller to another controller when i use:

CarsControllers.new.create

I'am having this error:

undefined method `parameters’ for nil:NilClass

and the params that i'am sending go as null why i'am having this error ?

and i'am sorry i'am still new with ruby on rails

Aucun commentaire:

Enregistrer un commentaire