Hey Guys.

I have this setup.

Pma
  has_many :pma_maps
  has_many :pma_locations, :through => :pma_maps

If I put pma_locations in the column list it shows the locations but
if I click on the list I get this error NoMethodError (undefined
method `klass' for nil:NilClass):

I tried with a nested link like this

 conf.nested.add_link(:pma_locations, :label => "Locations", :page => false)

and I get the same error.

If I manually fetch the locations Pma.first.pma_locations I get a list
no problem.

nested link seems to be working just fine for has many but it's having
problems with through.

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