When I was first learning ruby and rails I would hear terms used and I wasn't exactly sure what it was. I could understand it based on the context but if I had to explain it to someone I wouldn't know how to do that.
When getting user input you may want to remove whitespace. Let me show you how to do this.
First, let's not remove any whitespace.
puts "What is your name?"
name = gets
puts "Hi " + name + ". Nice to meet you." ...
If you have a blog in Rails you can do all kinds of fun stuff with it like add a quick estimate for your users to show them how long it will probably take them to read your post.
If you, like me, have a
Post model with ...