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?
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
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---