Skip to content

fdezcaminero/RailsForms

Repository files navigation

Building Forms in Rails

This project gave us a chance to actually build some forms, both using nearly-pure HTML and then graduating to using the helper methods that Rails provides.

Full task description here

Built With

  • Ruby
  • Rails
  • VSCode
  • Terminal
  • Rubocop

Getting Started

The project was designed to test capalities of building forms in Ruby on Rails

  • Terminal(Mac & Linux) or Command Prompt(Windows): This is where you will run all commands
  • Clone: clone this repository to your local machine
  • Ruby Enviroment: if you do not have ruby installed visit this link to install
  • Rails: install rails gem by running command $ gem install rails -v 5.2.1
  • bundle: run $ bundle install , this is to install gems declared in the Gemfile
  • Database Migration: run $ rake db:migrate in console to run database migrations on your local machine
  • Open the rails server with $ rails server command and begin executions
  • Follow path * localhost:3000/users/new * to create new user
  • Open rails console with *$ rails c * command in project directory
  • Type * User.all * to check id of user you want to edit
  • In browser as server is still running type * localhost:3000/users/:id/edit * to locate user you want to edit _ Run * User.all * in console to check for changes on id that you requested

Authors Hireable

👤 Jose Fernandez Caminero

👤 Elbie Moonga

🤝 Contributing

Contributions, issues are welcome!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published