Ruby on Rails Thursday, January 31, 2019

Rails complains :name is blank for rows in my Picture model because it seems because Carrierwave uploader is mounted on that column If I grab a row into an object and accesss object.name I get the Carrierwave object returned instead of the :name, filename.jpg, that mysql database standalone shows so object.valid? returns false

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/38f8c2fe-f862-460b-ab2b-eff27b116166%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment