Please use `RadioGroup.all_groups` - :: should be used for constant lookup. It is rather a bug in old ruby implementations that it ever worked for invoking methods and it is kept around for compatibility reasons I believe.