rails is always defined