Latest Tweets:

*2

hyperoslo/facebook-messenger

Installation $ gem install facebook-messenger Usage Sending and receiving messages You can reply to messages sent by the human: # bot.rb require ‘facebook/messenger’ include Facebook::Messenger Bot.on :message do |message| message.id # => 'mid.1457764197618:41d102a3e1ae206a38’ message. via Pocket

*3

voxable-labs/spree-api-ai-demo

This is a demonstration of using Api.ai and the Web Speech APIs (via the excellent SpeechKITT library) to add a voice interface to a web application. In this case, that application is the Spree e-commerce platform. In order to get this up and running, you’ll need an account at Api.ai. via Pocket

kciter/simple-slack-bot

This is simple! via Pocket

*1

Building Microservices with Docker and the Rails API gem — Connect the Dots — Medium

At the company that I work for, we have been using Docker to have consistent development environments for all of our engineers. This makes onboarding a new engineer a piece of cake. via Pocket

*1

Rails5, ActionCable, Redux, and React: Walking through an example chat application

I spent some time over the holiday break wrapping my head around Rails 5 with Redux. This will be an interesting stack to consider. Source code for the chat app is here. Live demo is here. via Pocket

suzan2go/react-rails-redux-sample

react-rails redux sample this is a simple example application using react-rails and redux rails 4.2.3 redux 3.0.4 react-rails 1.4.2 react 0.14. via Pocket

Remove N+1 queries in your Ruby on Rails app

Ever wondered why your page loads slower than it should when you do simple data representation or iteration over a bunch of data? One answer might be that you have the N+1 problem which slows your page significantly. via Pocket

4 Ways to Parse a JSON API in Ruby

The Ruby Toolbox lists no less than 25 HTTP clients. Let’s look at how to retrieve and parse JSON results from a RESTful API using the four most popular Ruby HTTP libraries. net/http is built into the Ruby standard library. via Pocket

File: README

rails-simple-search is a Ruby gem. It helps you quickly implement searching/filtering function for your web site. This plugin has paginating feature built in. If you’re not looking for a full-text searching solution, this plugin will most probably satisfy all your searching requirement. via Pocket

*1

Creating a Simple Search in Rails 4

Say you have a blog and you want the user to be able to search your posts, you will need to add methods to both your posts controller and post model, and create a corresponding search form. You can choose the fields you’d like your search form to query. via Pocket