Skip to content

Mark Embling

Tagged 'ruby'

Adventures with Message Brokers: MQTT and AMQP

Recently I've been talking on Twitter about adding websockets support to my energy monitoring web interface. However, before I went too far down this route, I thought it was best that I revisit the current set-up and re-engineer it a bit. Otherwise I could be queuing up pain for later.

Continue reading


Uncountable Nouns in Rails 3 Resource Routing

Yesterday I was puzzling over how to deal with the situation in Rails 3 where a resource name is an uncountable noun. It turns out Rails actually deals with this quite elegantly, but it seems not to be widely known - certainly I had an hour of headaches until I stumbled upon the answer. Hopefully this post will stop anyone else having that same headache.

Continue reading