for rails tutrial