New instances not populated with ID
swalke16 opened this issue · 1 comments
swalke16 commented
From your example:
Temping.create :dog
Dog.create => #<Dog id: 1>
First, your documentation is out of date with your code. You have to
include Temping
create_model :dog
Next, attempting to use this in a rails 3.2.8 project and the created dog instance does not have an ID after the call to create.
jpignata commented
Indeed - sorry I didn't see this earlier.
Should be fixed in 3.1.0.