Executing user input like that makes me nervous, but doing a simple include wouldn't be a bad idea. Something like:

```ruby
action = "#{params[:action]}!"
action if ["archive!", "unarchive!", "respond_later!"].include?(action)
```