title: Rails naming convention for Uppercase names
body: <p>I've got a model class:</p>
  
  <pre><code>class QRCode &lt; ActiveRecord::Base
  
    has_many :properties
  
  end
  </code></pre>
  
  <p>So rails needs a database table named 'qr_codes' and a foreign key called 'qr_code_id'.
  But as a relationship in my Property Model it needs another name:</p>
  
  <pre><code>class Property &lt; ActiveRecord::Base
  
    belongs_to :q_r_code
  
  end
  </code></pre>
  
  <p>So if I want to create a Property object I' have to say ':q_r_code => qrcode'
  But active_record wants a qr_code property, because the column is called 'qr_code_id'</p>
  
  <p>Do I understand something wrong or is this type of name impossible to map for Rails?</p>
  
  <p>P.S.: I'm using Rails 3.0.3</p>