Hi, I have a table "accounts" with these fields:

------------- accounts -------------
- id
- name
- client_code
-----------------------------------------

'client_code' is mandatory and multiple accounts can share same
'client_code' value.


Then I want to show like a "ClientCode" virtual mode. I say "virtual"
because there is not a table containing unique virtual client codes, I
just have the 'accounts' table. This virtual model should only show
these fields:

------------ client_codes ------------
- client_code
- accounts
--------------------------------------------

where 'accounts' would be a reference to all the entries in table
'accounts' with same 'client_code'.


Any tip on how to achieve this? Thanks a lot.


-- 
Iñaki Baz Castillo
<[email protected]>

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to