-
-
Save GarstgerUnhold/296995 to your computer and use it in GitHub Desktop.
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
# This is SO gonna be my future resume! I sure am impressed, Mr. Grigorik. | |
class Student < ActiveRecord::Base | |
has_one :passion, :conditions => "project.type = 'web'" | |
has_many :skills, :through => :practice | |
has_many :relevant_courses, :through => :university, :include => :group_work | |
has_and_belongs_to_many :projects, :through => :github, :foreign_key => "github.com/username" | |
validates_presence_of :agile_team | |
validates_presence_of :innovation | |
validates_presence_of :learning_opportinities | |
def self.objective | |
"Learn & improve my skills in an environment that will push me to learn new things " \ | |
"while having fun and contributing to projects that will have an impact ot the end user" | |
end | |
def self.toolkit | |
{ | |
:strong => %w(Ruby Rails JQuery CSS), | |
:familiar => %w(C++ Java Erlang Flex Flash SQL), | |
:want_to_learn => %w(MacRuby JRuby) | |
} | |
end | |
def self.experience | |
past = [] | |
past.push {:company => "XYZ", :title => "Ruby Wrangler", | |
:date => (1.year.ago .. 6.months.ago), | |
:description => "Built A because of B, responsible for X", | |
:reference => "John Smith <john@smith.com>", | |
:url => "http://awesome-rails-app.com"} | |
past.push {:company => "CDF", :title => "Server Admin", | |
:date => (6.months.ago .. Time.now), | |
:description => "Migrated X to cloud platform Y", | |
:reference => "Bob Smith <bob@smith.com>", | |
:url => "http://more-awesome-rails.com"} | |
past | |
end | |
def self.education | |
{ | |
:university => "Waterloo", | |
:level => "2A", | |
:degree => "Bachelor of Computer Science", | |
:grades => "Available on request, checkout my projects instead" | |
} | |
end | |
def self.contact | |
contacts = [] | |
contacts.push {:email => "name@me.com"} | |
contacts.push {:twitter => "username"} | |
contacts.push {:phone => "519-000-0000", :time => "10am - 6pm"} | |
contacts | |
end | |
def method_missing(method, *args, &block) | |
"Happy to answer any questions about #{method} (#{args.join(', ')})" \ | |
"please contact me for futher discussions." \ | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment