# Content\_type and MIME::Types.type\_for

**URL:** <https://www.ruby-forum.com/t/content-type-and-mime-types-type-for/147037>\
**Category:** Rails\
**Created:** [August 27, 2008, 9:50pm UTC](https://www.ruby-forum.com/t/content-type-and-mime-types-type-for/147037 "2008-08-27T21:50:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulbutcher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a5b964/32.png) [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Post date:** [August 27, 2008, 9:50pm UTC](https://www.ruby-forum.com/t/content-type-and-mime-types-type-for/147037/1 "2008-08-27T21:50:11Z")

</div>

What is the difference? Looks like they do the same thing, or?

---

<div class="post-metadata">

**Author:** ![paulbutcher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a5b964/32.png) [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Post date:** [August 28, 2008, 9:01am UTC](https://www.ruby-forum.com/t/content-type-and-mime-types-type-for/147037/2 "2008-08-28T09:01:41Z")

</div>

PÃ¥l BergstrÃ¶m wrote:

> What is the difference? Looks like they do the same thing, or?

Between content\_type and MIME::Types.type\_for that is.
