# $RAILS_ROOT/config/mime_types.rb Mime::Type.register "image/jpg", :jpg, ["image/jpeg", "image/pjpeg"] Above example uses mime type synonyms. Each synonym is a alternative string used to identify the same mime type and appears as an array after the mime type symbol. The class document does not explain the meaning of mime_type_synonyms nor give an example. Someone should fix that. Hope this post clarifies use of mime type synonyms. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---