Skip to content
View mdwagner's full-sized avatar
👋
livin' the dream
👋
livin' the dream

Block or report mdwagner

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
mdwagner/README.md
class Resume < Career
  belongs_to :real_response
  belongs_to :relayed
  has_many :programming_languages, dependent: :destroy
  has_many :things_to_do, dependent: :time

  attribute :title, :string, default: "Senior Software Engineer"
  attribute :subtitle, :string, default: "Software Architect"

  default_scope -> { where(github_username: "mdwagner") }
end

resume = Resume.first

resume.real_response.url
# =>
"https://www.realresponse.com/"

resume.relayed.url
# =>
"https://relayed.com/"

resume.programming_languages.order(favorite: :asc).pluck(:name, :url, :favorite)
# =>
[["Ruby", "https://www.ruby-lang.org/en/", 1],
 ["Lua", "https://www.lua.org/", 2],
 ["Crystal", "https://crystal-lang.org/", 3],
 ["Zig", "https://ziglang.org/", 4],
 ["Bash", "https://www.gnu.org/software/bash/", 5],
 ["JavaScript", "https://en.wikipedia.org/wiki/ECMAScript", 6],
 ["TypeScript", "https://www.typescriptlang.org/", 7],
 ["C", "https://en.wikipedia.org/wiki/C_(programming_language)", 8]]

resume.things_to_do.count
# =>
Infinity

Pinned Loading

  1. luajit.cr luajit.cr Public

    LuaJIT bindings for Crystal

    Crystal 7

  2. xls.cr xls.cr Public

    Crystal bindings to libxls

    Crystal 2

  3. dotfiles dotfiles Public

    Lua