Skip to content

Instantly share code, notes, and snippets.

@drhenner
drhenner / gist:2655665
Created May 10, 2012 20:25
Ruby Job Description
class Geek < Person
include StarWarsFan
end
class SeniorSoftwareDeveloper < Geek
def initialize(information, ruby_projects = [])
@likes = ["Ruby", "JavaScript", "Software Meetups", "Startups", "Code Reviews"]
@minimum_qualifications = [ "2 years of ruby, 1 year if you kicked butt",
"Writes tests for code.",
@Burgestrand
Burgestrand / render.rake
Created September 23, 2010 00:27
How to render Rails 3.0 views within rake tasks (with url helpers!)
# How to render rails 3.0 views within rake tasks.
#
# Description: An example of how to render a view within a rake task,
# complete with instance variables, application & url helpers and I18n.
#
# License: X11 license
#
# Copyright (c) 2010 Kim Burgestrand <http://burgestrand.se/>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy