added group capability to rails sample app