You have a nil object when you didn't expect it!


#1

I get the following error when I try to create a new item (create action
for a controller).

You have a nil object when you didn’t expect it!
The error occurred while evaluating nil.<=


#2

Jonas wrote:

I get the following error when I try to create a new item (create action
for a controller).

You have a nil object when you didn’t expect it!
The error occurred while evaluating nil.<=

Probably you attempt to use a nil (undefined) parameter.

Some rows of code could help us.