omrails class