Searching for a gem to manage related records

Hi! Is there a gem to easily manage related (belongs_to) records (view and controller)? To easily allow the user to select (if already exist) or add/create a new related record without write lines of code?

Thanks!

iwan