In this project we are building with active record on Rails. Created with Model & Controller & View principals.
- In our seed.rb file you will find dummy data.
- data_plan.md File is our warm-up sketch.
Marios Kanellopoulos
- Github: @mariosknl
- Twitter: @mariosknl
- Linkedln: marios-kanellopoulos
Kubilay Caglayan
- Github: @kubilaycaglayan
- Twitter: @kbcaglayan
- Linkedln: kubilay-caglayan
- clone repository
- bundle install
- rails db:migrate
- rails db:seed
- rails console
- In order to enter the rails's console type rails console in your terminal.
u = User.create(:name => "your_name")
p = Post.create(:title => "your_title", :body => "your_boby", :user_id => u.id)
c = Comment.create(:body => "your_body", :post_id => p.id, :user_id => u.id)
There are no automated test for this project yet
This is an open source project. Feel free to add your feedback. If, for any reason, this project doesn't work as supposed to be in your computer, create an issue so we can help you out with it. Lastly, you can request for a feature to be added.
Ruby on Rails Git VS Code
Give a star if you like this project!
- The Odin project for the project plan
- https://edgeguides.rubyonrails.org/active_record_migrations.html
- https://guides.rubyonrails.org/active_record_validations.html
- https://guides.rubyonrails.org/association_basics.html
- https://guides.rubyonrails.org/v3.2/migrations.html
This project is MIT licensed