Skip to main content
Ask A Question
You’re not receiving notifications from this thread.

How do I save data from javascript form to rails model

Rails • Asked by Ryan Bent

I have a mortgage caluculator written in jquery in my rails app. I would like for the user to enter their information and be able to save the calculations to their profile. Store in a column "mortagage calcuation" in user table for example.

I know I need to make an ajax call on the javascript data to push to my rails app. But not sure how to accomplish.

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 29,763+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.