He/Him/His
I'm a Software Engineer and a teacher.
There's no feeling quite like the one you get when you watch someone's eyes light up learning something they didn't know.
One small hitch: despite getting the tests running I initially couldn't get the app to send me the SMS. I saw my messages hitting the server but I wasn't getting anything in return. After looking through your app on GitHub the only difference I culd find was that your app didn't contain the line expose :twiml in controllers/sms/create.rb, and when I commented out that line in my app it started sending me the message responses.
Edit: looking back now I see that in the last version of the action you actually did remove it, must have missed it when I was coding along. My bad...
He/Him/His
I'm a Software Engineer and a teacher.
There's no feeling quite like the one you get when you watch someone's eyes light up learning something they didn't know.
I can't say I understood enough of what's going on to be able to speculate about why it didn't work, this is the first bit I wrote in Hanami. But I do know I want to start playing around with it more :)
Awesome! This is a nice simple app and it covers a few of Hanami's features, but not too many. I need to investigate Interactors next myself.
Let me know how you get on with it!
It was awesome!
Got the SMS app running.
One small hitch: despite getting the tests running I initially couldn't get the app to send me the SMS. I saw my messages hitting the server but I wasn't getting anything in return. After looking through your app on GitHub the only difference I culd find was that your app didn't contain the line
expose :twiml
incontrollers/sms/create.rb
, and when I commented out that line in my app it started sending me the message responses.Edit: looking back now I see that in the last version of the action you actually did remove it, must have missed it when I was coding along. My bad...
Ah, my apologies, I should have called that out more explicitly.
I wonder why the
expose
caused that issue though. Might be worth looking into within Hanami.Glad it worked in the end for you!
I can't say I understood enough of what's going on to be able to speculate about why it didn't work, this is the first bit I wrote in Hanami. But I do know I want to start playing around with it more :)
Oh, I agree on that, I've only just started playing myself. But it's got me interested to dig about under the hood too!