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.
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!
Proper Regexp Anchoring
In regular expressions, ^ does not match the start of a string. It might in other languages but not Ruby. That’s part of what makes this mistake so common. While we’re on the topic, $ doesn’t match the end of a string. Learn the right way.
What kind of Ruby app should you build if you want to get a job?
So you want to get hired as a Ruby developer, but you don’t have any real-world experience. What do you do? How can you separate yourself from the horde of bootcamp grads and junior developers who have only built Twitter and Reddit clones? Find out best way to impress potential employers with your work
pluck_to_hash: new version released
Released new version of pluck_to_hash gem. Added performance optimizations and ability to specify Hash type or Struct type to return. More details in the Readme. [more inside]
faster_path gem released!
Path handling is a performance bottleneck in web frameworks. This gem is a project that rewrites those costly server time areas in the Rust language to make your Ruby application run more efficiently. This gem is young! Looking for like-minded developers to participate in development! There’s no C code involved and Rust is required for the extension to build. faster_path
Duck-typing with #to_proc
One of the greatest Ruby mysteries for me has always been the idiomatic Symbol#to_proc which is usually used to cast a symbol to a block usually passed to some enumerator. In this post we explore what other powerful uses and potential #to_proc has
Awesome Ruby
Awesome Ruby is a collection of awesome Ruby gems, tools, frameworks and software. Your go-to Ruby Toolbox. Awesome Ruby’s goal is to help you find the software and libraries you need. Made by developers for developers. It is part of the LibHunt network.
Thredded v0.5.0
Thredded, the best Rails forums engine, has just released v0.5.0. This is a major release that adds topic subscriptions and a basic moderation system. Check out the live demo at thredded.org. [more inside]
Solidus eCommerce: Cleaning up the Cart
In this episode we clean up the cart page and add the cart button back into the navigation bar. We work through overriding the views from the solidus codebase and also discuss the ramifications of building a solidus theme with this method.
Jekyll in Action - Build a World Classics Bookshelf w/ Markdown n Ruby
Hello, I’ve added a bookshelf to the World Classics series that collects the world’s greatest (literature) books in Markdown, that is, plain old text with some simple formatting conventions. Using the Octobook Classics Book Theme turns the pages into a single-page (online) book. The first two books in the series include: 1) The Trial by Franz Kafka and 2) Strange Case of Dr. Jekyll and Mr. Hyde by Robert Louis Stevenson. Happy reading. Cheers.