I got two classes with a 1:N relation.
E.g. Servicegroup and Service with 1 Servicegroup having many
Services
class ServicegroupController < ApplicationController
active_scaffold :servicegroup do |config|
config.columns = [:code, :name]
end
class ServiceController < ApplicationController
active_scaffold :service do |config|
config.columns = [:servicegroup, :code, :name]
end
If I now display the list of the Services, and click on the service
group (which appears as a link), then the service group details are
displayed in an edit mode but what I need is a display mode.
How?
Regards
Andreas
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---