Displaying 2 results from an estimated 2 matches for "contact_method".
2006 May 16
1
ActionMailer w/o database link (e.g., feedback form)
Hey,
A total noobieQ. Apologies, still learning.
Could anyone point me to examples of a non-database-driven feedback
form, for instance, a simple e-mail feedback form that takes advantage
of ActionMailer? (How do I carry a POST through to a ''def'' w/o a
database connection?)
Thanks!
--
Posted via http://www.ruby-forum.com/.
2006 Mar 16
9
Baffling AJAX issue
...ontact_active">
<%= link_to_remote "<div id=''contact_active_#{cm.id}''><span
class=''#{cm.active}''>#{cm.active}</span></div>", { :update =>
"contact_active_#{cm.id}", :url => {:action => "toggle_contact_method",
:id => cm.id} } %>
</td>
There''s quite a mess of embedded tags and quotes there, but I think it''s
all correct and it does generate the correct html initially. The span
element inside the div is what''s getting replaced. The remote call
renders a str...