No errors anywhere.  Log contains the following, I've cut out all the
log statements for select statements to make it smaller.  The URL in
the browser when it's all done and just gb_domains is displayed is:
http://localhost:3000/gb_domains?eid=f28cacb3b4f9b6e8e19da31526bbed87&nested=true&parent_column=gb_domains&parent_model=GbStandard

----------LOG------------------
Processing GbDomainsController#update_table (for 127.0.0.1 at
2009-08-20 06:27:50) [GET]
...bunch of select statements...
   [4;35;1mGbStandard Load (16.0ms) [0m    [0mSELECT * FROM
gb_standards WHERE (gb_standards.id = 21)  [0m
Redirected to
http://localhost:3000/gb_domains?eid=f28cacb3b4f9b6e8e19da31526bbed87&nested=true&parent_column=gb_domains&parent_model=GbStandard
Completed in 344ms (DB: 110) | 302 Found [http://localhost/gb_domains/
update_table?
eid=f28cacb3b4f9b6e8e19da31526bbed87&nested=true&page=2&parent_column=gb_domains&parent_model=GbStandard]
   [4;36;1mGbDomain Columns (15.0ms) [0m    [0;1m select column_name
as name, data_type as sql_type, data_default, nullable,
 decode(data_type, 'NUMBER', data_precision,...
...more selects....

Processing GbDomainsController#index (for 127.0.0.1 at 2009-08-20
06:27:51) [GET]
  Parameters: {"eid"=>"f28cacb3b4f9b6e8e19da31526bbed87",
"parent_column"=>"gb_domains", "nested"=>"true",
"parent_model"=>"GbStandard"}
   [4;35;1mSQL (15.0ms) [0m    [0mSELECT count(DISTINCT
gb_domains.id)
more selects...

Rendering template within layouts/gb_domains
Rendering list
Rendered _list_header (16.0ms)
Rendered _list_column_headings (16.0ms)
Rendered _messages (0.0ms)
Rendered _list_actions (0.0ms)
...more renders....
Rendered _list_pagination_links (16.0ms)
Rendered _list (453.0ms)
Completed in 735ms (View: 578, DB: 139) | 200 OK [http://localhost/
gb_domains?
eid=f28cacb3b4f9b6e8e19da31526bbed87&nested=true&parent_column=gb_domains&parent_model=GbStandard]


On Aug 20, 3:40 am, "Sergio Cambra .:: entreCables S.L. ::."
<[email protected]> wrote:
> On Miércoles, 19 de Agosto de 2009 23:34:00mikevescribió:
>
> > 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] Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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