Volker found an easy solution, check the closed issue here: https://github.com/vhochstein/active_scaffold/issues/91
Thanks Volker! On 23 Jun., 09:11, Atastor <[email protected]> wrote: > Well...I really should be ror experienced enough by now...*COUGH* > > Any hints, where to start looking? HABTM works just fine, > surprisingly... > > Regards > Michael > > On 23 Jun., 08:59, vhochstein <[email protected]> wrote: > > > > > Hi, > > > no that issue is still open. If you have some spare time, would be > > great if you could take a look. > > > -- > > Volker > > > On Jun 22, 4:07 pm, Atastor <[email protected]> wrote: > > > > Ok, foundhttps://github.com/vhochstein/active_scaffold/issues/91. So > > > there is not yet a solution? > > > > Regards > > > Michael > > > > On 22 Jun., 15:20, Atastor <[email protected]> wrote: > > > > > 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.
