Skip to content
/ re-fomer Public template

This project describe the multiple ways to build a form in rails that can send parameters to a controller so that it can build an instance of a model with those parameters.

Notifications You must be signed in to change notification settings

uwadonat/re-fomer

Repository files navigation

Reformer

About The Project

In this project I Implemented the multiple ways to build a form in rails that can send parameters to a controller so that it can build an instance of a model with those parameters. I built our form using HTML, Form_tag and finally using Form_with. I also added features for edit and delete record from database as optional.

Built With

forthebadge rails

Contributing

Contributions make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

Prequisites

  • Ruby & Rails installed on your local machine.if not install it following steps in this link:Rails installation steps
  • bundle installed on your machine
  • Terminal or similar to execute the program.

Getting Started

To get a local copy of this application running it on your computer follow these simple example steps.

  • Clone this repository with git clone https://github.com/uwadonat/re-fomer.git using your terminal or command line.
  • Change to the project directory by entering: cd re-former in the terminal.

How to use the Blog app

  1. run the command bundle install This will install the required dependencies
  2. run the command rails db:create. This will initialize the necessary migration files
  3. run the command rails db:migrate
  4. run the command rails server
  5. open a browser window and navigate to http://localhost:3000
  6. If my form is displayed in your browser, take care. It means that rails is well installed in your computer otherwise restart installation of Rails following this link
  7. You can now Enjoy our project by creating new user using the form.

Authors

👤 Donat UWAMAHORO

Acknowledgements

📝 License

This project is MIT licensed.

About

This project describe the multiple ways to build a form in rails that can send parameters to a controller so that it can build an instance of a model with those parameters.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published