carrierwave is giving me this validation error:
Image You are not allowed to upload “pages” files, allowed types: jpg,
jpeg, gif, png
any idea how to remove the “image” attribute bit from the beginning? it doesn’t read very well.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I believe this should work:
Documentation on human_attribute_name
Alternatively, in your locales file, add:
In both cases, replace
MyModel/my_modelby the name of the activerecord class that you are uploading images to.