On Lunes, 1 de Junio de 2009 19:25:18 JannaB escribió: > I am wondering how to handle this: I have a model, 'users'. The table > can be edited. So far, so good, standard CRUD on a given model, > standard views, etc. > > One of the fields in the users table is a text field for their > whereabouts, with info put in by the users themselves. I want a > different, separate view in my application, that shows (i.e. list > view) only their > whereabouts of the users. > > How does you handle this in the AS design? I already have a > controller and a view for users (where you show/edit/delete on the > user). How do > you handle different required functionality/view like this? Thanks, > Janna > You can create another controller with active_scaffold :users do |config| [restrict columns, actions, and so on] end
-- Sergio Cambra .:: entreCables S.L. ::. Nicolás Guillén 6, locales 2 y 3. 50.018 Zaragoza T) 902 021 404 F) 976 52 98 07 E) [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 -~----------~----~----~----~------~----~------~--~---
