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.
Ruby Ranges: How Do They Work?
Have you ever wondered how ranges work in Ruby? Read this post to learn more! http://www.blackbytes.info/2016/06/ruby-ranges-how-do-they-work/
Rails Progress Indicator for Turbolinks Using NProgress
I wrote a new article on implementing a Rails Progress Indicator for Turbolinks Using NProgress. Hope you enjoy!
How we've cut our development time in half by losing Rails
There are very few reasons to use Rails on a site that does not have the need for it. So while that’s common sense, the hard part is figuring out what is it that your site needs and if it does or does not benefit from what a framework like Rails gives you. Maybe this post will give you a few ideas Read it here
How to efficiently process large Excel files using Ruby
I worked on a project in which I needed to parse and handle large .xlsx files. Some of those files had more than 200K rows. In this article, I describe how to do it efficiently using Ruby and Rails.
Real Time Rails 4: Using Server-Sent Events with Authy OneTouch
Rails 5 and Action Cable might be on the way, but did you know Rails 4 has its own real-time features. We take a look at implementing Server-Sent Events with Rails 4 in the context of two factor authentication with Authy OneTouch.
Solidus eCommerce: Cleaning up Authentication Pages
In this episode we clean up the authentication pages. We start by copying files over from the solidus_devise_auth gem where the file structure is slightly different than what we’re used to. [more inside]
A Six-Pronged Rails Performance Philosophy
There’s more to performance than database indexes, eager loading, and prefetching links. Sudara Williams shares a rails performance philosophy.
[podcast] James Edward Gray II makes Ruby do whatever he wants it to
James joins us to share his story of how he got into programming, and his journey through the world of Ruby and Rails over the past 10+ years. He tells you what he does when he gets stuck, how to get past the newbie freak out, and how to adopt an effective problem-solving mindset. He also shares his thoughts on the less code movement, and how to find a community of practice that will help you become a better developer.
Dockerizing Ruby Applications
The beginner guide to dockerizing Ruby applications: http://blog.kontena.io/dockerizing-ruby-application/
[Gem Release] hubstaff-ruby
You can now build advanced time tracking functionality into your Rails app, or create your own custom solution for displaying Hubstaff data to your clients using hubstaff-ruby.
New Free Yuki & Moto Book - Gem Developer's Guide by Nick Quaranto, Eric Hodel, et al
Hello, I’ve added a new book to the Yuki & Moto Press bookshelf. Let’s welcome to the series: Gem Developer’s Guide by Nick Quaranto, Eric Hodel, et al. Happy reading & coding. Cheers.
How to translate JavaScript strings in Rails
Rails I18n and elegant message passing to JavaScript . | Read More |
My Rails app is 66% faster with FasterPath release 0.0.9
New FasterPath gem version release 0.0.9 re-implements a few methods in Rust and shaves my web page load time by approximately 66%! https://github.com/danielpclark/faster_path
Adventures in Avro at Salsify
This week on the Salsify Engineering Blog we discuss our work to adopt Avro as the data serialization format for our microservices architecture. In the process of incorporating Avro we created a Ruby DSL for defining Avro schemas, developed a gem for generating models from Avro schemas, and reimplemented an Avro schema registry in Rails. [more inside]
[Screencast] Progressive Render
Slow content got you down? Load it later! Use this gem to defer loading of portions of your page until after load. They will be fetched via AJAX and placed on the page when ready. https://www.driftingruby.com/episodes/progressive-render
Solidus eCommerce: Checkout Page and Layout Logic
In this episode we split our layout into 2. We have a separate layout partial for the devise controllers and another one just for our application. [more inside]
Yuki & Moto Press - New Free Book Series About Ruby n Friends - First Book - Sinatra
Hello, I’ve started a new bookshelf (imprint) called Yuki & Moto Press that collects great books in Markdown about Ruby n friends. Using the Octobook Classics Book Theme turns the pages into a single-page (online) book. The first book in the series include: 1) Sinatra Intro by Chris Schneider, Zachary Scott, et al. Happy reading & coding. Cheers.
Two Factor Authentication (2FA) with Devise and Nexmo Verify
I love applications that support two factor authentication! Whether it is through SMS, voice, or other means – it simply tells me that the app developer has been kind enough to think about my data and its security. [more inside]
Ruby Iterators, Enumerators, Enumerable, and Loops
The latest post at the Zen Ruby blog is an attempt at a thorough introduction to Ruby Iterators, Enumerators, Enumerable, and Loops.
‘In Container’ Rails Development With Docker
Use Dlite for easy Docker based development, and a standalone Selenium Server to dockerize feature specs http://www.varyonic.com/2016/06/in-container-rails-development-with-docker
How to build BitBucket Cloud add-on in Rails?
In this step by step tutorial you will build Stars for BitBucket functionality. Learn how to add elements to BB user interface, how to authenticate your service and use BB REST API.
InvoicePrinter: another (opinionated) gem for generating invoices on top of Prawn
Read a short announcement of InvoicePrinter. No validations, no system dependencies, custom logo & fonts, and more. Let me know what you think!