Hi,

i have a simple association:

Appartment:
has_many :leads

Lead:
Belongs_to: appartment
attr_accessible :appartment_id

On the appartment show method a partial is include with a lead-form.

semantic_form_for @lead do |f|
f.input :firstname
f.input :lastname
 f.input :appartment,  :as => :check_boxes


When the html is rendered the appartment-name (check-boxes) has a
strange name like this <Appartment:0x007f88cd175400>

What is this?

Remco

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to