Always told undefined method pins for nild