Use something like:
 if controller_name == "hosts" Host::Base.complete_for