search for: div_listd

Displaying 3 results from an estimated 3 matches for "div_listd".

2009 Feb 10
2
form_remote_for NOT passing param: I want put and I get post
...s versions of RoR (2.0.2) it was working, but the same methods doesn''t work on 2.2.2, and I started to make changes and changes and read forums and the api, but no way ... <% form_remote_for (:expedient, :url => {:action => ''create_ajax''}, :update =>''div_listd'') do |f| %> <table class="edit"> <tr> <td class="label" width="100px">Referencia</td> <td class="data"><%= f.text_field :reference %></td> <td><%= submit_tag "AƱadir" %></td...
2009 Feb 10
0
Re: form_remote_for NOT passing param: I want put and I get
...assuming that the page contains more than just this: > - are all dom ids unique > - have you got nested forms ? > > Fred Here is the .erb file: <% form_remote_for (:expedient, :method => :put, :url => {:action => ''create_ajax''}, :update =>''div_listd'') do |f| %> <%= f.error_messages %> <table class="edit"> <tr> <td class="label" width="100px">Referencia</td> <td class="data"><%= f.text_field :reference %></td> <td><%= submit_tag...
2008 Nov 30
6
ActionController::InvalidAuthenticityToken?
Hi- I am trying to use AJAX calls to login and logout of my Rails app so that the form renders in the side bar when you are not logged in, and your "profile" renders if you are. It all works, but when you logout, and try and log back in, you get "ActionController::InvalidAuthenticityToken", in the development.log. What does this mean, I can''t figure out how to fix