I had to remove a validation on the :name column because my PictureUploader 
which uses Carrierwave is mounted on that column
 mount_uploader :name, PictureUploader
This causes validation 
validates :name, presence: true
to cause rows in pictures to be invalid for blank :name even though the 
name, just a filename, is in the database for that column

-- 
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+unsubscr...@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/8f78599a-5e59-43e1-8d1e-ec38e897c68d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to