2010/9/14 Sergio Cambra .:: entreCables S.L. ::. <[email protected]>:
> Do you need to use ActiveScaffold for that virtual model? What actions do you
> need?

Just "list".


> You could add a new model, set table to accounts and in client_codes
> controller define custom_finder_options to set :select => 
> 'distinct(client_code)
> as client_code'

Very interesting :)
I'll try it. 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