Nice feature to allow users to input multi-word queries. We can clean up the keywords by using some Ruby magic. Possible alternatives:  

1. http://www.ruby-doc.org/stdlib-2.0.0/libdoc/uri/rdoc/URI/Escape.html
```ruby
require 'uri'
keywords = URI.escape @user_input
```

2. Or using advance features of the rest-client gem (https://github.com/rest-client/rest-client)
```ruby
api_base = 'http://www.reddit.com/r/organic/search.json'
search = RestClient.get api_base, {params: {q: @user_input, sort: 'relevance', restrict_sr: 'on', t: 'all'}}
# rest-client will take care of escaping weird characters and allows to you to define all the URL queries (?query=value) in one go
```