Neil Bye wrote:
> This is my form. It creates a comment in the database but won't pass the
> 'body' value. I think the problem is passing the variable to javascript.
> Can anyone help?
>
> <% form_for :comment, :url=>story_comments_path(@story), :name =>
> 'form' do |form| %>
>
>Commen
Dear Fred;
so thanks, for ur help.
am so new to ROR, and was so interested on AJAX,
i used the ActiveScaffod instead of it and all is okey.
bytheway, tnx2much
@};-
On Sun, Jun 13, 2010 at 8:12 PM, Frederick Cheung <
frederick.che...@gmail.com> wrote:
>
>
> On Jun 13, 12:50 pm, Neil Bye wrote:
On Jun 13, 12:50 pm, Neil Bye wrote:
> This is my form. It creates a comment in the database but won't pass the
> 'body' value. I think the problem is passing the variable to javascript.
> Can anyone help?
>
Your serialize_form method looks borked. You could use the
remote_form_for method alter
3 matches
Mail list logo