Skip to content

Instantly share code, notes, and snippets.

@victorclee
Created April 30, 2017 18:37
Show Gist options
  • Save victorclee/35ed2db87097bcfd28040ed853286f0d to your computer and use it in GitHub Desktop.
Save victorclee/35ed2db87097bcfd28040ed853286f0d to your computer and use it in GitHub Desktop.

TIL - Things I Learned 20170430

Today I learned how to write a method

def method_name
  puts 'runnable code for ruby'

Today was also the first day that I learned running Ruby on Rails We need three things, a route, a controller, and a view, in order to run it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment