In this project we created a simple user system and learn the basics of forms and controllers in Ruby on Rails.
- Created a User model
- Created a User controller
- Created view pages for new and edit user
- Create migration files with table rules
- Adjust associations between models
- Create migration files with required foreign keys
- Ruby on Rails
- Rubocop
- Stylelint
To get a local copy up and running follow these simple example steps.
In order to run, you need to install RUBY and Rails in your computer. For windows you can go to Ruby installer and for MAC and LINUX you can go to Ruby official site for intructions on how to intall it.
Then you can clone the project by typing https://github.com/RaminMammadzada/rails-re-former.git
- Type
bundle install
in the root file of the project. - Type
rails db:migrate
in the root file of the project. - Type
rails s
in the root file of the project. - You can go to rails console by typing
rails console
and create User by using Active Record commands and methods.
👤 Ramin Mammadzada
- Github: @RaminMammadzada
- Twitter: @RaminMammadzada
- Linkedin: @RaminMammadzada
👤 Jurgen Clausen Gutierrez
- Github: @jurgen1c
- LinkedIn: jurgen-clausen
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
This project is MIT licensed.