The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Spree Commerce 2016 development roadmap
Spree Commerce open source project is back in active development with a new and ambitious development roadmap for 2016 handled by a new Core Team. Public slack channel was also set up for anyone to join and talk about future of Spree. [more inside]
Solidus eCommerce: Taxonomies and Rendering Products (Video)
In this episode we discuss taxonomies, what they are and how they work in solidus. Taxonomies are a great way of grouping products and making them filterable. [more inside]
How To Deploy ActionCable to Production
Learn how to Deploy ActionCable to Production with Passenger in this week’s GoRails screencast!
Recurring events in Ruby
In this post, I introduce Montrose, an easy-to-use library for defining recurring events in Ruby. It uses a simple chaining system for building recurrences, inspired heavily by the design principles of HTTP.rb and recurrence rule definitions available in the alternative Recurrence gem. https://rossta.net/blog/recurring-events-in-ruby.html
Factories: From Simple to Ridiculous
During a recent class with Sandi Metz, we discussed factory methods and the different ways of implementing them. But we didn’t have enough time time to dive in to the options. I told my classmates that I would write something up, so here it is – a guided tour of factories from the simple to the ridiculous!
Understanding 'self' in Ruby
In this post I briefly explore what self is, why we use it, and when it changes. http://perrycarbone.tumblr.com/post/138164496678/understanding-self-in-ruby
How To Locally Save A Bundler Gem With Git Source To /vendor/cache
This article describes locally saving a gem with a git source. http://solidfoundationwebdev.com/blog/posts/how-to-locally-save-a-bundler-gem-with-git-source-to-vendor-cache
How to Add Chat to a Rails App with Twilio IP Messaging
Adding chat to your app is more than just sending and receiving messages. Full-featured chat requires chat-history, typing indicators, read receipts, and to sync across iOS and Android devices. This tutorial uses Twilio’s IP messaging SDKs to add chat to a Rails app in 20 minutes. https://www.twilio.com/blog/2016/02/add-chat-to-a-rails-app-with-twilio-ip-messaging.html
ruby-kafka: A solid Ruby client for Apache Kafka
https://github.com/zendesk/ruby-kafka [more inside]
The Ultimate Guide to Blocks, Procs & Lambdas
What are Ruby blocks and how do they work? What about procs & lambdas? Find all the answers here! http://www.blackbytes.info/2016/02/ruby-procs-and-lambdas/
Translating existing Rails applications made easier
Kamil Dziemianowicz from our team at AmberBit just wrote a post on how he managed to simplify the tedious problem of translating existing Rails application that was not using Rails I18n functionality at all.
Protect Your Web Application with Google reCaptcha on Ruby on Rails
Google reCaptcha is easy to use and comes packed with advanced security features. Using an advanced risk analysis engine, reCaptcha keeps the automated bots from engaging in spamming activities for your application. Besides it is much more user friendly than the earlier image captchas. Read More Here.
Ruby: Bindings Across Inheritance
How to modify local variables from inherited private methods. http://6ftdan.com/allyourdev/2016/02/02/ruby-bindings-across-inheritance/
Is Ruby 2.3 Faster? Date Parsing Performance
Date#parse is 10% faster in Ruby 2.3. But why? Find out in http://ruby-performance-book.com/blog/2016/02/is-ruby-2-3-faster-date-parsing-performance.html.
Emoji Picker for your Rails application.
Rails emoji picker gem was released. Simple integration of emoji picker with your rails application. https://github.com/ID25/rails_emoji_picker
Leveraging Github's Scripts to Rule Them All
A look at using a common set of scripts to standardize your dev and CI environment: http://www.markphelps.me/2016/02/01/scripts-to-rule-them-all.html
Caching, What is it Good For
Achieve application simplicity with zero caching and blazing speed. It isn’t the framework or the content that is holding you back, it’s the language. [more inside]
Open-source Ruby SDK for epages API
ePages published a blog post on developing a Ruby SDK for their REST API. Read further here or check the GitHub repository directly.
Karafka framework 0.4 – Routing engine
We’ve finally released a new version of Karafka framework. Apart from many tweaks and bug fixes it contains a new routing engine. Check out why it is worth paying more and more attention to Kafka and Karafka: Karafka framework 0.4 – Routing engine
Leveraging Ruby Libraries
I gave this O’Reilly webcast on Ruby, its standard library, and Ruby Gems on January 26. It’s a lightning tour of the Ruby language, its core classes, its standard library, and third party Ruby gems like Rails and Sinatra. If you’re on the fence about learning Ruby, this will give you an idea of what the language can do for you! [more inside]
Did you know about Ruby standard library Abbrev?
It’s is a small utility module which helps you to create all possible abreviations from given array of words. Read the docs or my post about it.
Wye Tech News #9
A new issue of our weekly compilation of interesting news and articles about Ruby, Rails, JavaScript and web development related stuff that we found during the week.