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.
Travel in time during testing a Rails application
Check out the post about testing Rails application traveling in time: [more inside]
minispec-rails
A 50-line gem to add PURE Minitest::Spec to a modern Rails app. No more defining test classes. Just describe the right thing to get the right test type. [more inside]
APIQ CMS 1.0 Release
I’m happy to announce APIQ CMS 1.0 release and share a blog post highlighting the most notable features.
Speedy JSON Endpoints with Rails
A quick post about using the jb gem and Russian doll caching to speed up JSON results. https://medium.com/companydev/speedy-json-endpoints-with-rails-b6130f757815?source=linkShare-fa20f9abac0a-1501257673
Implementing classification using a SVM in Ruby
In this blog post I will show how to solve a classification problem using a support vector machine (SVM) in Ruby. We will be using the RubyGem rb-libsvm to help us setup a SVM, train it and make predictions in a minutes. [more inside]
When one job saturates your workers and the rest queue up
6 techniques for handling a situation when one kind of a jobs starts behaving poorly and saturates your workers so the the rest of them starts queuing up and lagging: [more inside]
A gem for serializing HAL
Are you thinking about creating a new hypermedia API? If so, I just created a new gem called hal_decorator that turns your model instances into serialized json according to the HAL specification. That is, with properties, links and embedded resources.
How learning Elixr made me better Ruby developer
I wrote a blog post about how Elixir made me better Rubyist.
What's the Difference Between Continuous Integration, Deployment and Delivery?
Most web devs are familiar with CI. But what exactly is the difference continuous deployment and continuous delivery? Are they basically the same thing? Read this article to find out — and post a comment if you’d like to add something.
How to build a search form in APIQ CMS
The full guide on building a search form in APIQ CMS - https://www.apiq.io/2017/07/26/building-a-search-form/
Learn How to model has_many relationships in DynamoDB
Explained how to model has_many relationships in DynamoDB with Rails in my latest article. Please read article and when it is better to normalize and de-normalize data stored in DynamoDB. [more inside]
Rails API Video Series
Video series with free and paid videos, focusing on building a JSON API with Rails 5.1. There are currently 26 videos and more are on their way. There is also a React Foundation series that show you how to build a client that consumes the API.
Making iOS & Android Apps with Rails & Turbolinks
Rails 5 and Turbolinks do most of the heavy lifting when you’re ready to get your MVP running in a native mobile App. This tutorial shows you how to get started. [more inside]
DNSimple API v2 Architecture and Hanami
The story and the technical details about the DNSimple API v2 architecture https://blog.dnsimple.com/2017/07/api-v2-architecture/?utm_source=rubyflow&utm_medium=social&utm_campaign=blogposting&utm_content=post-api-v2-architecture
The Ultimate Guide to Ruby Sorting
Learn how many different ways you can sort an array in Ruby. Including the quicksort algorithm! http://www.blackbytes.info/2017/07/ruby-sort/
GEM giphy_api_ruby: integrate with Giphy API easily!
giphy_api_ruby (https://github.com/faragorn/giphy_api_ruby ) - is new gem that will let you integrate with Giphy API and it is the only ruby gem that implements all endpoints and features documented in the official Giphy documentation. I tried to create it with minimal dependency on external libraries, as a result this gem uses only native Ruby libraries, making it very lightweight. Benchmarking showed that this gem performs faster then other similar libraries, considering you are using a good JSON parser. Comes with 100% test coverage. The Readme.md will help you to get started! Thanks :)
Clojure's interpose in Ruby
I wrote a post detailing how one might open up Enumerable to implement one of Clojure’s core functions. Whether one wants to open up Enumerable is left as an exercise for the reader :)
What skills a junior Ruby on Rails developer should have?
Skill set for a junior Ruby on Rails developer should be a mix of technical and soft skills. I wrote an article explaining what I mean https://medium.com/kkempin/what-skills-a-junior-ruby-on-rails-developer-should-have-c1589710507c
Maily v0.6.0 release: Rails 5.1 and more
I just pushed a new version of Maily ( https://github.com/markets/maily ) v0.6.0, adding Rails 5.1 compatibility and some other improvements: lazy attributes to fetch data, emails description, better handling of internal exceptions, fixed assets pipeline integration and some internals cleanup. [more inside]
Office.TXT - The Free Writer’s Command Line Tool Suite - $ gem install officetxt
Hello, I’ve put together the world’s 1st office suite in ruby ;-) Let’s welcome Office.TXT - The Free Writer’s Command Line Tool Suite. Use $ gem install officetxt to install the all-in-one office bundle. What’s included? For now journaltxt, jekyll, drjekyll, mrhyde, octopod, m2w, rougify, kramdown, quik, and more. Anything missing? Let us know. Cheers.