Skip to content

Instantly share code, notes, and snippets.

@Mirai
Created February 21, 2012 16:51
Show Gist options
  • Save Mirai/1877338 to your computer and use it in GitHub Desktop.
Save Mirai/1877338 to your computer and use it in GitHub Desktop.
module Namespace
class Address < ActiveRecord::Base
end
end
===
module Namespace
class MailingAddress < Address
set_type_field "Namespace::MailingAddress" # This is made up but is there something that accomplishes similar
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment