Restrict the parents which appear in the pull-down-selector to the parents I own.
[Source]
# File app/helpers/frgmnts_helper.rb, line 4 4: def options_for_association_conditions(association) 5: if association.name == :parent 6: ['usr_id = ?', session[:usr_id]] 7: else 8: super 9: end 10: end
[Validate]