Ruby on Rails Thursday, December 30, 2010

On Dec 30, 2:03 pm, Colin Law <clan...@googlemail.com> wrote:
> On 30 December 2010 20:34, Geo Manickam <geo...@hotmail.com> wrote:
>
>
>
>
>
>
>
>
>
>
>
> > On Dec 30, 2:06 am, Colin Law <clan...@googlemail.com> wrote:
> >> On 30 December 2010 04:32, Geo Manickam <geo...@hotmail.com> wrote:
>
> >> > I tried address still not able to display the address form.
>
> >> > <% person_form.fields_for :address  do |address_form| %>
>
> >> Please don't top post, insert your comments at appropriate points in
> >> the previous message.  It makes it easier to follow the thread.
> >> Thanks.
>
> >> What do you mean by not able to display address form?  Is there an
> >> error shown?  If not then what does the generated html look like?  If
> >> the html is not correct then what is wrong with it?
>
> >      basically the code inside the <%
> > person_form.fields_for :address  do |address_form| %>  is not
>
> It should be <%= person_form.... %>, I should have seen that before.
> Without the = it runs the code but does not put the result into the
> page.

thank you. :) my bad, consider this is resolved. It works for me
now.
>
> Colin

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment