Skip to content

Instantly share code, notes, and snippets.

@cracell
cracell / gist:952537
Created May 2, 2011 23:01
Sandwich Theory - A near Complete Guide
1. Sandwiches must have two or more slices of bread.
2. Sandwiches must be delicious.
3. Sandwiches must be smaller than that consuming them.
module SimpleForm
module Components
module Errors
def error
template.content_tag(error_tag, error_text, error_html_options) #if has_errors?
end
end
end
end
Fetching DiskWriteBytes with 29004450
Fetching DiskReadOps with 28978930
Fetching NetworkOut with 28964980
Fetching CPUUtilization with 28956230
Fetching DiskReadBytes with 28947910
Fetching NetworkIn with 28932220
Fetching DiskWriteOps with 28922170
warning: peer certificate won't be verified in this SSL session
warning: peer certificate won't be verified in this SSL session
warning: peer certificate won't be verified in this SSL session
def size_select
change_attribute(:size)
end
def color_select
change_attribute(:color)
end
def change_attribute(attribute)
line_item = LineItem.find(params[:id])
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
[remote "origin"]
url = git@github.com:deckpeck/fisie.git
fetch = +refs/heads/*:refs/remotes/fisie/*
push = refs/heads/master:refs/heads/master
#############################################################
# Application
#############################################################
set :application, "is_that_odd"
set :deploy_to, "/mnt/app/#{application}"
set :repository, "repo"
#############################################################
# Settings