Re: Problems with link_to_remote

Ryan Bigg
2008-01-24T07:01:34Z

You posted 1 hour ago.

Do not expect a reply so quickly.

On Jan 24, 2008 5:29 PM, user splash
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:

>
> >
> > Sorry I misssed out my controller.
> >
> > In my controller:
> >
> > def add_item
> > render(:inline => %{
> > TEXT FOR
BIN CODE 1
> > <%= n.text_field
:item %>
> > })
> >   end
> >
> >
> >
> > When I click the link, I got this error, undefined local variable or
> > method `n'' for #<#<Class:0x482c428>:0x482c400>.
When I take away the n,
> > I got this error, wrong number of arguments (1 for 2). Where did I go
> > wrong and adding on to the previous questions, how can I display the
> > things that will show after I click the link in the correct place,
which
> > is under the td tag of the orginal?
>
> Hi,
> Can anyone please help me with the above two posting''s questions?
>
> Thank you
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>


--
Ryan Bigg
http://www.frozenplague.net
Feel free to add me to MSN and/or GTalk as this email.