Here's my Diplomas controller:

class Admin::DiplomasController < ApplicationController

  active_scaffold :diploma do |config|
    config.nested.shallow_delete = true
  end

  protected

  def nested_habtm?
    return true unless active_scaffold_constraints.empty?
    super
  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.

Reply via email to