If a file_field is empty it gives me an error. If I check it with nil?
or blank? or size it stills gives me an error. What should I do to check
if it has a file or not?
If a file_field is empty it gives me an error. If I check it with nil?
or blank? or size it stills gives me an error. What should I do to check
if it has a file or not?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs