Starting with:

class Left < ActiveRecord::Base
  has_many :middles
  has_many :rights, :through => :middles
end

class Middle < ActiveRecord::Base
  belongs_to :left
  belongs_to :right
end

class Left < ActiveRecord::Base
  has_many :middles
  has_many :lefts, :through => :middles
end

continued with:

class LeftsController < ApplicationController
  active_scaffold :left do |conf|
     conf.columns = [:name, :rights]
     conf.columns[:rights].form_ui = :select
  end
end

class MiddlesController < ApplicationController
  active_scaffold :middle do |conf|
  end
end

class RightsController < ApplicationController
  active_scaffold :right do |conf|
     conf.columns = [:name, :lefts]
     conf.columns[:lefts].form_ui = :select
  end
end

Given some entries in the lefts and the rights tables. Klicking on the
"Edit" link in e.g. one of the entries in lefts the rights association
is missing and vice versa. Klicking the association link in the rights
column i am presented with a nested view, but there the "create new"
link ist missing, too, and vice versa.

I am actively using this feature with 2.3.11, does it not work with AS
3.0.x?

Regards
Michael

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