Skip to content

Instantly share code, notes, and snippets.

View bgkittrell's full-sized avatar

Ben Kittrell bgkittrell

View GitHub Profile
#
# Cookbook Name:: delayed_job
# Recipe:: default
#
node[:applications].each do |app_name, data|
user = node[:users].first
case node[:instance_role]
when "solo", "app", "app_master"
@bgkittrell
bgkittrell / new
Created June 22, 2012 16:51 — forked from creich/new
<%= form_for @time_tracker, :url => {:action => :stop},
:html => {:class => "time-tracker-form",
:onchange => "updateForm()" }do |f| %>
<!-- TODO localize placeholders / add labels -->
<%= f.label l(:time_tracker_label_current_task) %>
<script>
updateForm = function() {
// prototype ajax request
new Ajax.Request(....