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.
Bits & Blocks Press Bookshelf Update Now Incl. Crypto Fudge Warning
Hello, using jekyll (and github pages) with (remote) octobook themes you can build (online) books from your text w/ markdown formatting. I added more free (online) books / booklets to the latest real-world open-source / open-access example - Bits & Blocks Press Bookshelf (Source) - Free Books about Bitcoins, Blockchains, Contract Scripts ‘n’ More. New pubs include: Crypto Facts - Decentralize Payments - Efficient, Low Cost, Fair, Clean - True or False? by Nouriel Roubini, David Gerard, et al ++ Bitcoin White Paper - A Peer-to-Peer Electronic Cash System by Satoshi Nakamoto ++ And more. Happy publishing w/ Jekyll and Octobook themes.
6 Things to Share Before Outsourcing Your Rails App
Are you thinking of outsourcing development on your Ruby on Rails app to a 3rd party development team? There are a few things you should share with your potential partners first. [more inside]
Ruby’s New Exception Keyword Arguments
In Ruby 2.6, a variety of Kernel methods support new exception: false and exception: true keyword arguments: https://medium.com/square-corner-blog/rubys-new-exception-keyword-arguments-4d5bbb504d37
Browserslist in Ruby
Browserslist Useragent allow you to use Autoprefixer browsers config to show “You use outdated browser” warning in Ruby on Rails.
Jekyll's Hidden Depths
As anyone who has used Jekyll for a while knows, it’s capable of so much more than first meets the eye. Here are a few tricks I discovered while redesigning my personal website.
Method Arguments in Ruby: Part II
In this article we’re going to explore the following topics:
Warning.warn is what gets called by Kernel#warn
It is now possible to tell Ruby how to deal with warnings
rufus-scheduler 3.5.0 released: fugit time parsing
The time related string parsing (cron/at/duration strings) got extracted out of rufus-scheduler into a gem named “fugit”. The 3.5.0 version of rufus-scheduler uses fugit and has just been released.
Passenger 5.3.1 released: crash + spawn hotfix
Version 5.3.1 of the Passenger application server for Ruby, Node.js, Meteor and Python has been released. This release contains two hotfixes for regressions discovered in 5.3.0 a few days ago: https://blog.phusion.nl/2018/05/14/passenger-5-3-1/
4 Reasons Why I Think Google Cloud Will Take Over Cloud Computing Space
Where do you store your images? Do you want a cheaper alternative to Heroku but feel daunted by the sheer amount of work that needs to be done to migrate to AWS? [more inside]
Ruby class methods syntax
In Ruby there are several ways how to define a class method. In this article I’ll go trough 4 major ways and explain what class methods really are. [more inside]
A recap about the Hamburg Ruby Unconf
Our Ruby developers attended this year’s Ruby Unconf in Hamburg. Check out what it was like here 👉🏻 https://developer.epages.com/blog/events/why-i-enjoyed-the-hamburg-ruby-unconf/
Ruby devscoop: Issue #11
Big performance improvement for ordinal generation! The power of benchmarks-oriented solutions ! see more
Adding GDPR Compliance to My Rails App and Technical Blog
New data privacy GDPR EU regulations are going live in less than two weeks. In this blog post, I will describe actions I took to add GDPR compliance to my Ruby on Rails SAAS app and this blog itself. [more inside]
Functional Programming in Ruby - Flow Control
How do you deal with the flow of data through your application without resorting to exceptions everywhere? - https://medium.com/@baweaver/functional-programming-in-ruby-flow-control-565bbdcdf2a2
Functional Programming in Ruby - Closures
Closures are a common piece in FP, how do we leverage some of those ideas in Ruby? - https://medium.com/@baweaver/functional-programming-in-ruby-closures-ac80547eb40d
A Simple Regex Language compiler for Rubyists
The srl_ruby gem packs with its latest version 0.4.0 a compiler that transforms text patterns expressed in SRL into plain Ruby Regexps.
The Simple Regex Language (SRL) allows to easily design and write highly readable text patterns without being a regular expression guru.
The srl2ruby compiler even has the option to output both original SRL and its Regexp counterpart so that they can be inserted together in one place in your Ruby source code, easing further the maintenance…
Interested?
Take a look at the project’s README or give the srl_ruby gem a try.
Functional Programming in Ruby - State
State goes beyond immutability, find out how to use this to make more flexible Ruby apps: https://medium.com/@baweaver/functional-programming-in-ruby-state-5e55d40b4e67
InvoicePrinter 1.2 released with bundled server
Print your PDF invoices from any tech stack thanks to the new InvoicePrinter Server. Read the announcement.
An Introduction to Event Sourcing for Rubyists
Video here: https://skillsmatter.com/skillscasts/11903-an-introduction-to-event-sourcing Slides here: https://speakerdeck.com/mottalrd/an-introduction-to-event-sourcing-for-rubyists Code here: https://gist.github.com/mottalrd/52a99a0a67275013df5a66281a4a1b11 Event sourcing is a design pattern to build applications that are domain centric and easy to extend. The pattern is based on the usage of a persistent event log which substitutes the more classical relational database model for Rails applications.
Check out RubyRef
Easier navigation to Ruby documentation by use of subdomain redirects. https://www.rubyref.net/
Yuki & Moto Press - Programming Blockchains Step-by-Step from Scratch (Zero) in Ruby
Hello, I’ve added a new free (online) book to the Yuki & Moto Press Bookshelf. Let’s welcome: Programming Blockchains Step-by-Step from Scratch (Zero) in Ruby. Starting with Crypto Hashes… The contents includes: (Crypto) Hash - (Crypto) Block - (Crypto) Block with Proof-of-Work - Blockchain - Blockchain Broken? - Timestamping - Mining, Mining, Mining - Bitcoin, Bitcoin, Bitcoin - (Crypto) Block with Transactions (Tx) - References / Links. Note: The manuscript source includes many single-file ruby script samples. Happy mining and blockchaining with Ruby. PS: Did you know? You can build online books and bookshelves with ruby - use the jekyll machinery with octobook themes
A pure ruby TensorFlow implementation
https://github.com/jedld/tensor_stream [more inside]