Ruby on Rails Checklist!

1.Take a few minutes writing out a domain model (always easiest on a whiteboard or piece of paper):What relationships you will have (has many? belongs to?)What attributes each model will have.What you will use in the controller and views.2) If you are starting from scratch then type “Rails new name_of_application” and this will generate a lot of flies to get you started and set up in your Rails application.3) Keep up a schema and routes to always check tables4) Type in the Terminal: Rails g model Artist name age:integer img —no-test-framework(model is always singular) (adding string is not necessary)5) Write your Relationships:has_many :performances (plural)has_many :cities, through: :performances.
Ruby on Rails Checklist! #ruby #rails #rubyonrails #bosnia #programming #tutorials #rubydeveloper #railsdeveloper

Nezir Zahirovic

Freelance software developer Ruby On Rails (6 years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles