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.
Southeast Ruby Conference
Attend the inaugural year of Southeast Ruby in Nashville, TN October 5 & 6. Avdi Grimm, Kinsey Ann Durham, Ernie Miller, Ben Orenstein and more.
Sorting your Gemfile with ease using ordinare gem
Ordinare sorts gems in your Gemfile alphabetically, while taking care of gem groups and comments above gems. [more inside]
football.json - New 2017/18 Season - Free open public domain football data in JSON
Hello, I’ve updated the /football.json repo /service that offers (auto-)generated match schedules (fixtures and results) and club listings for the major football leagues e.g. English Premier League, Deutsche Bundesliga, Primera División, Italian Seria A, etc. See the 2017-18 season folder for (static) JSON examples. No API key required ;-) All data public domain. Enjoy the beautiful game. Cheers. PS: Ruby works great for generating JSON; see the json.rb script for the code.
[Screencast] Custom Error Pages with Slack Notification
Learn to use custom error pages to provide a similar look to your application. Get notified on Slack as errors occur to act on them before they’re reported. https://www.driftingruby.com/episodes/custom-error-pages-with-slack-notification
Tips to improve speed of your test suite
At Appaloosa, most of our tests are written with Rspec, but we still have a certain amount of legacy Test Unit tests. Our Rspec and Test-Unit suites take up to 10 minutes each, so a full test suite runs in around 20 minutes. That’s a lot. We recently decided to invest time on improving our tests to gain time when developing. https://medium.com/appaloosa-store-engineering/tips-to-improve-speed-of-your-test-suite-8418b485205c
Asynchronous Elasticsearch bulk reindexing with Rails, Searchkick and Sidekiq
This article describes how you can do asynchronous bulk reindexing for Elasticsearch with Searchkick and Sidekiq. https://medium.com/@vvangemert/asynchronous-elasticsearch-bulk-reindexing-with-rails-searchkick-and-sidekiq-26f2f9aa8513
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