On Miércoles, 19 de Agosto de 2009 23:34:00 mikev escribió: > I have a gb_standard which has_many gb_domains (models below). When I > click the 'Next' link or any of the page numbers the next page of the > list view opens in a new page instead of maintaining the nested view. > This is happening for multiple of my models. Any suggestions for what > needs to be fixed to make this behave properly?
Do you get some javascript errors? A good tool to debug javascript code is the firebug extension (for firefox). Safari has a good debugger too. > > class GbStandard < ActiveRecord::Base > has_many :gb_data_items > has_many :gb_domains > end > > class GbDomain < ActiveRecord::Base > has_and_belongs_to_many :gb_data_items, :join_table => > "gb_domain_data_items" > belongs_to :gb_standard > end > > class GbStandardsController < ApplicationController > active_scaffold :gb_standard do |config| > config.columns = [:standard_nm, :standard_description, > :gb_domains] > end > > class GbDomainsController < ApplicationController > active_scaffold :gb_domain do |config| > config.columns = > [:domain_cd, :description, :table_nm, :gb_data_items] > end > > end > > -- Sergio Cambra .:: entreCables S.L. ::. Mariana Pineda 23, 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 -~----------~----~----~----~------~----~------~--~---
