You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.
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
rake db:automigrate,
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)
The text was updated successfully, but these errors were encountered:
Given the following
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)
The text was updated successfully, but these errors were encountered: