Example rails application with simple relationship