using
  
address_form.collection_select(:neighbourhood_id,@neighbourhood_for_metro,:id,:name)
worked rather than collection_select(@object,@method,...)

it seems use of form specific methods avoids a lot of trouble, when shifting
forms from individual to nested.

On Mon, Feb 22, 2010 at 3:48 PM, Sharagoz -- <[email protected]> wrote:

> Any difference if you change :address to @address?
>
> If that doesnt work, I guess you'll have to do :selected =>
> @address.neighbourhood_id
> --
> 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]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
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