I am sorry if this question is very basic... and perhaps not even a
reils question...although I am interested in the rails best practices
solution if there are many solutions.
Do I build a div with some sort of " onclick " that can push an
"invisible??" button within the div containing hidden fields?
Is there a rails helper that will wrap a div to make it clickable and
which I can load with a couple parameters and will that be safe if the
method called will make changes to my database?
If you want to do this with ajax, use remote_function(). If not you
could mess with link_to. This has an option which will cause it to
generate a link with an onclick which will dynamically create a form
with the appropriate fields and submit it. I'm sure you can work out
from the source for link_to how to do this yourself
You could also create the forms, but have no form submit buttons. In
which case your onclicks are just $('form_id').submit()