/re-former

This is part of the Forms Project in The Odin Project’s Ruby on Rails Curriculum. Find it at http://www.theodinproject.com”

Primary LanguageRuby

Ruby On Rails Forms

Version License: MIT Twitter: kipropJS

Description of the project

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.

⭐️ Built with

  • Ruby,
  • Ruby on Rails,
  • SQL lite as the default database

Dev Environment Requirements:

  • Ruby, check here for more information.

⭐️ Running the code

Instructions:

  1. Clone the re-former repo here

  2. Navigate into the root of the folder

    $ cd ./re-former
    
  3. Run bundle install to install the necessary gems:

    $ bundle install
    
  4. Install Yarn

    $ yarn install --check-files
    
  5. Migrate the DB

    $ rails db:migrate
    
  6. Run the sandboxed console to explore the database

    $ rails console --sandbox
    
  7. Run the server

    $ rails server
    
  8. Navigate to the new user path uri on the browser

    $ http://localhost:3000/users/new
    
  9. Create a new user with the help of the form displayed.

Authors

👤 Cyrus Kiprop

🤝 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 sanbox

📝 License

This project is MIT licensed.