ruby on rails - How would you allow a user to authenticate and post a comment at the same time -


i'm looking implement similar feature disqus app user can post comment , login site @ same time.

the way see working user shown text field comment along submit button. when submit button pressed user shown variety of authentication providers (facebook, twitter etc) , after authentication complete comment posted.

i have commenting , authenticating working 2 separate actions i'm wondering best solution combine them one.

you use modular popup authentication instead of redirecting new page. option have drop-down button submit button options "post facebook", "post using twitter account"...


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -