I have two schemas both don’t persist in the data base. Here is the code
schema "" do
field(:public_name, :string, virtual: true)
field(:pass, :integer, virtual: true)
field(:personal_name, :string, virtual: true)
end
schema "" do
field(:first_name, :string, virtual: true)
field(:personal_id, :integer, virtual: true)
field(:last_name, :string, virtual: true)
end
I am writing test cases for the library and I need virtual associations between these two schemas.
How can I define a virtual association
between these two?
Any help will be much appreciated.
Thanks