Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 294979
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T06:24:59+00:00 2026-05-12T06:24:59+00:00

A feature in Reddit that I like is the ajax login – you enter

  • 0

A feature in Reddit that I like is the ajax login – you enter your username and password on the front page and you never leave the front page even if there is a login error. If your login succeeds, I think it simply does something like a flash[:message] onto the front page to say “login successful”. If I wanted to do this in Rails, would that be a case of needing to use RJS + remote_form_for? Are there any other techniques in Rails that would allow me to do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T06:25:00+00:00Added an answer on May 12, 2026 at 6:25 am

    RJS and remote_form_for are the Rails Way to do Ajax, but you certainly don’t have to use them. Railscasts has a screencast on using RJS and Ajax to submit a form.

    If you prefer a different javascript library (such as jQuery), you can use its Ajax libraries to perform the correct actions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a feature I'd like to implement that will require me to get
A feature of our app is certain white label domains, but what I'd like
I have a group feature on my website that allows 1 user to put
I am creating a feature that declares a custom list template and a list
I'm trying to mimic a reddit feature. When you link to a specific comment
feature-branch----C---D / develop---A---B / master I have a branch feature-branch that has been merged
A less well-known feature of JavaScript is that you can use labels to break
Does such feature exist? Something like Java HotSpot running in server mode, but for
I added a new feature to a site recently, which uses AJAX to load
Is there any feature in IIS 7 that automatically deletes the logs files older

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.