This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Existing schema is below: | |
ActiveRecord::Schema.define(:version => 20120130161449) do | |
create_table "movies", :force => true do |t| | |
t.string "title" | |
t.string "rating" | |
t.text "description" | |
t.datetime "release_date" | |
t.datetime "created_at" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Adjusted to give override background and text colour */ | |
.highlight pre, pre, .highlight .hll { | |
background-color: #49483E; | |
border: 1px solid #ccc; | |
padding: 6px 10px; | |
border-radius: 3px; | |
color: #FFFFFF; | |
} | |
/* Highlights taken from https://gist.github.com/asaaki/1007420 for Monokai theme */ | |
.c { color: #75715e } /* Comment */ |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.