Hello All, i m trying to implement a report abuse system on my website; basically i want to be able to report anything, from suer profiles to user comments. So I guess I should use object_id and object_type to be able to refer to what the current user is reporting. My issue is that, being on a particular user profile i want to report,for example, I just need to click a report abuse button that would trigger a popup form to be completed and sent to the site admin, ie, me. I m planning to use hidden text fields to hold the current object_id and object_type of that thing i want to report to, but then how do I actually get the object id and object type from the ;ain page to my popup formula ? Hope someone can help. Regards, Joel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---