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.
UI Tests With Capybara In Ruby
Your Rails web application should work every time, for every user, and on every browser. Here’s how to use Capybara to mimic how a user would locate web elements in your app.
Exception Notifier: Receive Free Emails For The Unhandled Rails Application
Mutation testing for Rails views
I’ve been experimenting with mutant for a long time now and I’ve been very happy with the result - a 100% mutation coverage on some of my projects. There was one part which I wasn’t happy about - I wasn’t able to cover my rails views with mutant. [more inside]
tensorflow is coming to ruby!
This Blog encourages the idea of combining tensorflow and ruby.
Building a Voice Alerts Broadcast System using Ruby and the Nexmo Text-to-Speech API
Sometimes a text message won’t do. When you really want to be alerted about something important you probably want to receive an actual phone call; whether it’s because a server is down, or because a natural disaster has occurred in your area. [more inside]
Obfuscating the Obvious
This post explores how making assumptions or inferences in your code ultimately leads to obfuscating what should be obvious.
[gem] SuperToken: ActiveRecord unique token generator with prefix and length options
SuperToken is a fork of HasSecureToken module which is provides an easy way to generate uniques random tokens for any model in ruby on rails. SuperToken gives you a way to prefix token with string and change token length. [more inside]
A Review Of Immutability In Ruby
This article is a review of the options available to Rubyists regarding immutability. We’ll look at the built-in features of Ruby 2.3, and a few gems.
Solidus eCommerce: Checkout Address Step and Shipping / Tax Calculation
In this episode we do a code walk through, of how we got the checkout page progress bar to work with the bootstrap style. We show you the thought process behind the code that we override from the original solidus source.
Creating Rails 5 API only application following JSON:API specification
This article describes how to build API only Rails application using new Rails 5 –api option. Further, I’ll explain how to follow JSON:API specification in your code, how to test your API’s and cover token authentication using some of the new Rails 5 features.
Dr Jekyll's Themes - Free Jekyll Theme Listing / Directory - Summer 2016 Update
Hello, I’ve updated the alternative Jekyll theme site called “Dr. Jekyll’s Themes”. What’s news? New themes, themes, themes: Ink by Ashish Gupta; Mono by Akshay Agarwal; Immaculate by Lau Siaw Young; Mangan by Diki Andriansyah; Indigo Minimalist by Sérgio Kopplin; Photorama by Sunbliss; Slender by Jannik Richter; Gravity, Dev Journal, Safarnama by Hemang Kumar; Decent by Jens Willmer; Thinkspace by Heiswayi Nrird; Urban by Dennis Rohner; Octopod by Stefan Haslinger; Octobook Classics by Gerald Bauer; Octobook Git by Mathieu David and some more. +++ Thanks to all for adding ready-to-fork static site themes. New themes always welcome. Happy site building with Jekyll n friends. Cheers. +++ (Update Jun/21) I’ve added a news channel on twitter for new themes. Follow along @drjekyllthemes
Akita's Manga Downloadr Elixir vs Ruby performance revisited
I’ve written a response to Fabio Akita’s article published 2 weeks ago comparing the performance of his Manga Downloadr implementations in Elixir, Crystal and Ruby. [more inside]
[Screencast] Playing with JSON
Some neat tips and tricks for interacting with and parsing JSON responses from an API. https://www.driftingruby.com/episodes/playing-with-json
A Slack powered music player for you and your team
To play around with Rails 5 and ActionCable I created a music player app powered by Youtube and Slack. Hosting it is free too, thanks to Heroku. [more inside]
Redis migrate to SSDB tools
Redis-SSDB-Proxy that read from redis(or ssdb) write to both use for redis <=> ssdb migration on production
Rails 5 introduces country_zones helper method to ActiveSupport::TimeZone
http://blog.bigbinary.com/2016/06/01/rails-5-introduces-helpers-for-country-zones.html
Use ES2015 with Rails today - what & how
In this blogpost I present what is ES2015, what features does it bring to the language and why setting it up with Rails stack is hard - but possible.
ToyRobot
My implementation of ToyRobot pubzzle, https://github.com/chamnap/toy_robot.