Right now I am currently using the country_select gem and the countries gem with a :country
column in my Users model. I want to use @user.country
to show the national flag for each @user.
world-flags gem has not been updated in 4 years and is listed as being for Rails 3 and there is almost nothing on StackOverFlow about it.
Or I guess I could download these flag pngs put them in a folder on s3 and do something like this:
def flag_url
self[country] = /flags/"#{country}".png
end