quattro_4 scribble

scribble 落書き (調べた事をただ落書きする)

Ruby5 #439

Ruby5 - Episode #439 - February 11th, 2014

  • Structuring Sinatra
  • ActiveRestClient
    • class Person < ActiveRestClient::Base
    • base_url Rails.application.config.api_server_url
      • get :all, "/people"
      • get :find, "/people/:id"
      • put :save, "/people/:id"
      • post :create, "/people"
    • 3 types Associations
  • ENV!
    • ENV_BANG
    • variant for supporting 12-Factor Apps similar to dotenv
    • ENV!.config do
      • use :APP_HOST
  • Services with Foreman
  • MooseX
    • DSL that helps to make Object Oriented programming in Ruby easier
    • include MooseX
    • has x: {
      • is: :rw, # read-write (mandatory)
      • isa: Integer, # should be Integer
      • default: 0, # default value is 0 (constant)
  • RubyHeroes
    • RailsConf 2014 - April 22-25 in Chicago, IL

♫ Best Coast - The Only Place

by SoundHound