Skip to content

Instantly share code, notes, and snippets.

@bgveenstra
Last active November 3, 2016 16:59
Show Gist options
  • Save bgveenstra/0db460513517651439d638a42315340b to your computer and use it in GitHub Desktop.
Save bgveenstra/0db460513517651439d638a42315340b to your computer and use it in GitHub Desktop.

Week 7 Learning Objectives

###Intro Ruby

  • List Ruby data types.
  • Articulate strategies to learn new programming languages and frameworks.
  • Run Ruby code in an interactive Command Line Interface or from a file.

###Ruby Methods

  • Write conditionals, loops, and methods in Ruby.
  • Apply methods in ruby to solve problems.
  • Explain the two main differences between Ruby methods and JavaScript functions: isolated scope and implicit return.

###Idiomatic Ruby

  • Follow variable and method naming conventions (lower_snake_case, CONSTANT, method_that_returns_boolean?, destructive_method!).
  • Prefer built-in methods when available.
  • Use implicit return whenever possible.

###Ruby OOP

  • Define the OOP terms “class,” “instance,” and “inheritance.”
  • Create your own classes and instances.
  • Define attributes and methods for instances or for the class as a whole.
  • Explain and implement the class-based inheritance pattern.

###Rspec

  • Justify writing unit tests.
  • Explain important testing concepts: edge cases and test coverage.
  • Read and explain Rspec tests.
  • Write DRY and effective test code using RSpec.

###Rails Intro

  • Articulate the Rails philosophy and the MVC pattern.
  • Start a Rails project with no database and create routes that render dynamic templates.
  • Distinguish between Express and Rails.

###Active Record

  • Create a model that inherits from ActiveRecord class
  • CRUD data in the database using our model
  • Write a migration to define a database schema
  • Update our database schema with another migration

###Rails Views

  • Describe how layouts, views & partials work together.
  • Recognize rails url helpers and path helpers.
  • Explain benefits of using Rails form helpers and link helpers.
  • Find and determine correct syntax for Rails form helpers and link helpers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment