Closed baldursson closed 8 years ago
Thanks for finding a good solution to this problem.
Could you confirm that this works both with Rails 4 and Rails 5?
I published a new version as 2.0.0 since this changes an external dependency. In case people want the old import they can stay with 1.x
The previous code that was supposed to fetch a list of encodings was using a constant from Rails Admin that is no longer available. This caused an error when using an up-to-date version of Rails Admin. This fix fetches encodings the same way Rails Admin does nowadays.