forked from altrabio/CITIEsForRAILS
-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Hi,
I'm testing the gem so I've created a small project with this :
class Party < ActiveRecord:Base
acts_as_citier
end
class Person < Party
acts_as_citier
end
class Structure < Person
acts_as_citier
end
I wrote the migrations like in the example.
So the test is :
- Open a console
- Insert a Structure in the database => OK I've got everything in every table
- I do Party.all => It fetches the Structure
- Close the console
- Open a new console
- I do Person.all => nothing is fetched
- I do Party.all => It fetches the Structure as usual
- I do Person.all => Now it fetches the Structure
Weird ?
Thanks for help
Julien
Metadata
Metadata
Assignees
Labels
No labels