Rails belongs_to association on model name that has underscores
<p>Hey guys I broke a bit of rails convention by using underscores instead of camelcasing on a class name (Ui_1_Log instead of Ui1Log) and now when I refer to the association it isnt finding the right class.  For example:</p>

<pre><code>class Ui_1_Log &lt; ActiveRecord::Base
  belongs_to :account
end

class Account &lt; ActiveRecord::Base
  has_many :ui_1_logs
end
</code></pre>

<p>Now when I call the association in the rails console it doesnt work because it returns a classname as Camelcase when it needs to keep the underscores...</p>

<pre><code>x = Account.first
x.ui_1_logs.first  #returns nameError: uninitialized constant Account::Ui1Log 
</code></pre>

<p>It needs to be Account::Ui_1_Log but I don't know how to force that...Any ideas?!</p>