rails: simple class