title: Rails simple_form association
body: <p>I'm trying to create a form for 'Member' using simple_form and having trouble displaying an association where it display the organization as below instead of the id, or organization_name. Am I missing something here? How should I go about this?</p>
  
  <p>**Organization:0x0000000485cf88</p>
  
  <p>Organization:0x0000000485c948</p>
  
  <p>Organization:0x0000000485c358**</p>
  
  <pre><code>class Organization &lt; ActiveRecord::Base
    has_many :members
    attr_accessible :organization_name
  end
  
  class Member &lt; ActiveRecord::Base
    belongs_to :organization
    attr_accessible :active, :email, :first_name, :last_name, :role
  end
  
    &lt;%= f.input :first_name %&gt;
    &lt;%= f.input :last_name %&gt;
    &lt;%= f.input :role %&gt;
    &lt;%= f.input :email %&gt;
    &lt;%= f.input :active %&gt;
    &lt;%= f.association :organization %&gt;
  
    &lt;%= f.button :submit %&gt;
  </code></pre>
  
  <p>Thanks.</p>
  
  <p>Cheers,
  Azren</p>