All threads / How to Build a Slack Slash Command App with Rails Discussion
Ask A Question


You’re not receiving notifications from this thread.

How to Build a Slack Slash Command App with Rails Discussion


Great tutorial and subject!


I followed the tutorial and get the following error when I am authenticating the Slack response.

Processing by Slack::CommandsController#create as HTML
Parameters: {"token"=>"HH1aNamaPjxndTgUTZM", "team_id"=>"TD548K4", "team_domain"=>"gorailstest", "channel_id"=>"CDTGR2T", "channel_name"=>"general", "user_id"=>"UD54QA", "user_name"=>"rsehd", "command"=>"/kr3ve", "text"=>"hello", "response_url"=>"", "trigger_id"=>"5659923814.44657650.5c8f42dcca5d895283a417f8671f548e"}
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

TypeError (no implicit conversion of nil into String):

app/controllers/slack/commands_controller.rb:26:in hexdigest'


To whom is having issues on Rails 6
If you see 403 Forbidden in ngrok. You have to add ngrok url to whitelist.
Add config.hosts << / to config/environments/development.rb.


Great tutorial!

I'd be interested in learn how to enable a user to publish messages from a Rails App to Slack and the Slack message will be attributed to the user / not a bot.

I second this. Can you create more videos around slack bots ?


A review of the best and freshest gaming devices, of course, only at After all, insiders of all countries write articles here and we will be the first to learn about the world's new products.


Word unscrambler online tool created to help you learn, win game with friends, and have fun.

Play world of solitaire for free online without download, install, or register.

2048 cupcakes for free online:

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 54,919+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2021 GoRails, LLC. All rights reserved.