Skip to content

Commit

Permalink
Added link to write up on simulating polymorphic assoc. in DataMapper
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsardone committed Oct 31, 2009
1 parent b3493ee commit 6285872
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions password_store.rb
Expand Up @@ -7,6 +7,7 @@
# DataMapper doesn't do Single Table Inheritance (STI) like ActiveRecord
# does. Instead, create a module with class evaluated property declarations
# and include it within your model classes.
# http://wiki.github.com/sam/dm-core/simulating-polymorphic-associations
module Account
def self.included(other)
other.class_eval <<-EOS
Expand Down

0 comments on commit 6285872

Please sign in to comment.