has_many_polymorphs enhanced!

http://blog.evanweaver.com/articles/2006/06/02/has_many_polymorphs

Evan really did a great job, adding model namespaces, table names and double polymorphism. Thank you so much! And thanks for the testing credits, though you really improved that as well :-)

Explore posts in the same categories: Ruby/Rails

One Comment on “has_many_polymorphs enhanced!”

  1. Leevi Graham Says:

    Sorry to contact you here, but I couldnt find your email anywhere on the site or get in contact with you on irc. I am having an issue running the create_tables task in your active_acl plugin.

    I am getting the following message on a fresh install:

    Mysql::Error: #42000Identifier name ‘index_requester_links_on_acl_id_and_requester_id_and_requester_type’ is too long: CREATE unique INDEX `index_requester_links_on_acl_id_and_requester_id_and_requester_type` ON requester_links (`acl_id`, `requester_id`, `requester_type`)

    Any ideas?


Comment: