Metaprogramming galore

```rb
Parent = Struct.new(:name)

Dummy = Class.new(Parent) do
  define_method(:foo) do |arg|
    "foo #{arg}"
  end
  alias_method :foo_alt, :foo
end



class Person
  attr_accessor :name, :location
  attr_writer :pets
end



class User < ActiveRecord::Base
  belongs_to :organization
  has_many :posts
end

```