practice for rails applicatiopn