About Rails

Rails.application.routes.draw do
get "/names", to: "names#index"

# For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
end
class NamesController < ApplicationController
def index
end
end
class CreateNames < ActiveRecord::Migration[7.0]
def change
create_table :articles do |t|
t.string :name
t.text :body

t.timestamps
end
end
end

--

--

--

A software engineering student at Flatiron School.

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

Recommended from Medium

Alternative to WordPress: Hosting Ghost on BizCloud

How to Combine Python, Pandas & XlsxWriter

How Open RAN Is Driving Innovation In Enterprises

Traditional D-RAN Architecture

Distributing Alert Messages From Grafana With Webhooks

Why I think WordPress is a great platform for beginners

Forms In HTML

HTML Form Controls

Getting Started with Django-(Django First API)

This Week In TurtleCoin (May 26, 2020)

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
Jessica Sewell

Jessica Sewell

A software engineering student at Flatiron School.

More from Medium

Ruby on rails

Introduction to Ruby on Rails

Everything is “Enumerable” in Ruby

The State of Rails