Rails Generators Make Coding Easier

rails g migration
rails g migrate create_fruits name:string flavor:string price:integer
rails g model
rails g model Candy name:string flavor:string price:integer
rails g controller
rails g controller Dog
rails g resource

--

--

--

Flatiron School software engineering alum. Experienced in JavaScript, React.js, Ruby, and Ruby on Rails. https://www.linkedin.com/in/chandler-hanson/

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

HowUpgrade/ Downgrade CISCO IOS-XR 32-bit

Essential Guide for Web Performance Optimization

Five Ways in which D&D Beyond Benefits from Dogfooding

API and Micro services

Redis for dummies

3 Essentials for long-running batch jobs

Inform 7

AJAX Basics Explained By Working At A Fast Food Restaurant

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Chandler Hanson

Chandler Hanson

Flatiron School software engineering alum. Experienced in JavaScript, React.js, Ruby, and Ruby on Rails. https://www.linkedin.com/in/chandler-hanson/

More from Medium

What are classes and how to use them in Ruby and Javascript

Association and Foreign Keys For Beginners

How to Add JWT Auth API to Existing Rails Application

Server with wires

Creating an API database with Ruby-On-Rails and SQLite