The project involves creation of forms in rails using different three different techniques. Here in, the forms created with form_tags methods and normal html tags are commented out while the one that is uncommented is the form created with form_for railsey tags.
**The project contain database models and schemas that model the user object visit The Odin Project for the full project specifications.
- Ruby,
- Ruby on Rails,
- SQL lite as the default database
- Ruby, check here for more information.
-
Clone the re-former repo here
-
Navigate into the root of the folder
$ cd ./re-former
-
Run bundle install to install the necessary gems:
$ bundle install
-
Install Yarn
$ yarn install --check-files
-
Migrate the DB
$ rails db:migrate
-
Run the sandboxed console to explore the database
$ rails console --sandbox
-
Run the server
$ rails server
-
Navigate to the new user path uri on the browser
$ http://localhost:3000/users/new
-
Create a new user with the help of the form displayed.
👤 Cyrus Kiprop
- Github: Cyrus-Kiprop
- Twitter: @kipropJS
- Linkedin: Cyrus Kiprop
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project sanbox
This project is MIT licensed.