has_many and belongs_to question... undefined method error

You've named your belongs _to pools and it should be pool in your Gm
class.

Hence rails is looking for pool and it's not hence hence the undefined
method.

Cam