title: ROR/Mysql Design question: how to store avatars in database
body: <p>I am creating a Ruby on Rails website. The users can have avatars from a limited set of avatars I provide, like turntable.fm. and again like Turntable.fm depending on the uses rank they can pick different avatars from different levels.</p>
  
  <p>I am thinking of creating the avatar with scaffold, so have an MVC for it.</p>
  
  <pre><code>rails generate scaffold avatar file_name:string, level:integer
  </code></pre>
  
  <p>(for non ruby experts ;) ) So my avatar mysql table would have id, file_name and level as it's columns.</p>
  
  <p>and also add a avatar_id to the User table.</p>
  
  <p>I am wondering is this the right way to address this problem? 
  I was just reading about BLOB and storing images in the database, do I need to do anything like that? </p>
  
  <p>Thanks!
  Mina</p>