Given the following
class Person
include DataMapper::Resource
property :id, Serial
property :name, String
remix n, :addresses
end
module Address
include DataMapper::Resource
is :remixable
property :id, Serial
property :city, String
end
When I run
Then, instead of getting a table called person_addresses,
it's called person_addres, not at all what I expected.
Looks like a pluralization issue? So far its the only model I have with this problem.
Also no matter what I do (on any model), remix n ignores the :as key (by ignore I mean that the table names are not affected, I'm unsure if that's the intended behavior)