#1047 ✓resolved

storage_names is ignored if set on the model

Reported by BrianTheCoder | September 18th, 2009 @ 03:47 PM | in 1.1

If you look at my plugin, http://github.com/BrianTheCoder/dm-is-schemaless, I am setting an model that uses this plugin to use the entities as its storage name, but when I migrate, its using the class name instead. Also when creating indexes I'm just instantiating DataMapper::Model and setting the storage name, but its not being created correctly either.

Comments and changes to this ticket

  • BrianTheCoder

    BrianTheCoder September 19th, 2009 @ 03:12 AM

    Pull the latest version and run irb -r spec/spec_helper.rb. When you run DataMapper.auto_migrate!, it blows up the first time, but works fine the second or third. Also apparently the email table is now being created correctly, but the entities table is not being created.

  • Martin Gamsjaeger (snusnu)

    Martin Gamsjaeger (snusnu) October 29th, 2010 @ 04:58 PM

    • State changed from “new” to “unconfirmed”
    • Milestone order changed from “0” to “0”

    Is this still an issue?

  • Martin Gamsjaeger (snusnu)

    Martin Gamsjaeger (snusnu) January 14th, 2011 @ 09:17 PM

    • State changed from “unconfirmed” to “resolved”
    • Assigned user set to “Martin Gamsjaeger (snusnu)”
    • Milestone set to 1.1
    • Milestone order changed from “147299” to “0”

    Marking this resolved for now. The dm-is-schemaless plugin looks like it would need updates to work with latest DM anyway. If this is still an issue, we can always reopen it.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »