Manipulating custom user fields from the Rails console

How did you create that dynamic content in the post?