Skip to content

Instantly share code, notes, and snippets.

View tankbusta's full-sized avatar

Christopher Schmitt tankbusta

  • Colorado
  • 08:45 (UTC -06:00)
View GitHub Profile
class Article < ActiveRecord::Base
has_one :category
has_one :workflow_state
end
class WorkflowState < ActiveRecord::Base
belongs_to :article
validates :name, presence: true
validates :description, presence: true
@tankbusta
tankbusta / login.jade
Created September 11, 2013 17:52
Hehe
doctype 5
html(lang='en')
head
meta(charset='utf-8')
meta(name='viewport', content='width=device-width, initial-scale=1.0')
meta(name='description', content='')
title Snowman &raquo; Login
link(href='/stylesheets/bootstrap.css', rel='stylesheet')
link(href='/stylesheets/signin.css', rel='stylesheet')
link(href='/stylesheets/clippy.css', rel='stylesheet')