Sudden Rails 5 ArgumentError: invalid byte sequence in UTF-8

rails
ruby
ruby-on-rails

#1

So I was messing around cropping images on my app and suddenly I started to get ArgumentError: invalid byte sequence in UT-8 whenever I tried to seed my database, after some fiddling around I decided it would be better just to return to a previous commit, but the error kept popping up, despite being perfectly fine when that commit was new, so I’m wondering if this a C9 issue or if I somehow messed my app up, could cloning it would fix the problem?


#2

I found the solution, was using a plural uploader call for a singular upload, this was a mistake I had a while ago but the other way around.