for Rails Tutorial