Git Product home page Git Product logo

rails_forms's Introduction

Logo

Rails Forms

Made by Jenny Cárdenas and Thales Neves
This is a small example of how to implement forms in Ruby on Rails.

‎ ‎ ‎ ‎

👩🏼‍💻 About Rails Form

In this project, we created different versions of forms using various methods like form_tag, form_for and vanilla HTML form in the views file, both for creating a new form and updating an existing form.
To achieve this, we generated a user model and a users controller with the sqlite3 being used for storage.
All the form fields have the necessary validations required to check the user input.

screenshot


🤖 Getting started

You'll need to have both Ruby and Rails installed on your computer.

  • In the desired directory, type git clone https://github.com/janis-jenny/Rails_Forms.git in the terminal.

  • Then type cd Re-Former in the terminal to change the directory into the root of the project.

  • Then type bundle install && yarn install to download the necessary gem files for the project.

  • Run rails server to start the server for the application.

  • Open localhost:3000/users/new to start filling in the form and create a new user.

  • Open localhost:3000/users/id/edit to update an existing users' information. Remember to replace the id in the url with user id number such as localhost:3000/users/1/edit.

🔧 Built With

  • Ruby on Rails

👥 Author

👤 Jenny Cárdenas

👤 Thales Neves

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

⭐ Show your support

Give a ⭐️ if you like this project!

📌 Acknowledgments

📝 License

This project is MIT licensed.

rails_forms's People

Contributors

janis-jenny avatar thneves avatar

Stargazers

A B M Asadullah avatar

Watchers

 avatar

rails_forms's Issues

Recommendations from the Cupids

This is great work. Congrats!
A few suggestions:

  • The password need not be unique. It could also be a security vulnerability.
  • You could set a vibrant color for the error messages to quickly direct the user's attention to them

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.