-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"undefined method `copy' for nil" on save #2742
Comments
@ssugiyama |
@mshibuya sorry for delay in my response I make the entire form invisible, showing the image to users outside the form. |
Ah I meant, having both of So the question is, what's the reason you ended up having |
I see! |
Sorry for misreading you comment. This is a legacy code of our project. I have misunderstood this is the correct way. |
Maybe, we referred to this description. Do you mean the description is obsolete? @mshibuya |
What's there is |
Due to 4c65b39, the following pseudo code begins to raise an error
when
complete
method is called fromconfirm
form which hasf.hidden_field :image_cache
andf.hidden_field :image
,foo.save
raises the following error.Due to 4c65b39, params[:image] turns to be the same as params[:image_cache]. Maybe this the reason of the behavior.
When the error was raised, the cache store seemed to have been already deleted.
The text was updated successfully, but these errors were encountered: