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.
Bare Metal Ruby
How to install most recent stable version of Ruby on Linux, without using rbenv or alternative version managers. The goal was to find a fast and reliable approach for provisioning expendable virtual machines for Rails development environment. Read more
jasony gem - read JSON with comments, unquoted keys, multi-line strings, etc.
Hello, I’ve put together a new JSON readers gem called jasony. The first next generation JSON parser / reader included is HANSON.parse for the JSON for Humans (HanSON) format by Tim Jansen et al. Using HanSON you can use comments, unquoted keys, multi-line strings, single-quoted strings, trailing commas, and more. Note: HANSON.parse is the same as JSON.parse( HANSON.convert(text)), that is, HanSON works like a “pre-processor” for JSON. Cheers.
Contained clutter: lowering the risk of moving fast
Every line of code is that much more technical inventory that carries risk and management burden. How can we make efficient progress without impeding our delivery of features? An article on separating cluttered areas to move fast safely.
Tensorflow comes to Ruby
A talk by the founder of Tensorflow.rb landed on our RubyML list. Read more
[Day 2] Building a Rails 5 app in Real-Time
In this 5 Day challenge RubyThursday and Ruby RoundTable founder builds a photosharing app with Rails 5 in real-time. Here’s Day 2, in progress now (and RePlay for latecomers) »
Linz.rb Talk - Quik - The Missing Project Template Scaffolder (for Ruby)
Hello, the slides for today’s Linz.rb talk about “Quik - The Missing Project Scaffolder (for Ruby)” (All-In-One-Page Source in Markdown) - Quick start your ruby gems, your sinatra apps, your jekyll sites ‘n’ more w/ project templates (from GitHub). What do you use to get (quick) started with new gems, sinatra apps, jekyll themes? Let us know.
[Day 1] Build a Rails 5 app in Real-Time
In this 5 Day Challenge, RubyThursday and Ruby RoundTable founder Melissa Wahnish builds a photosharing app with Rails 5, in real-time. Here’s a REPLAY of Day #1 »
SOL[I]D - Interface Segregation Principle
Even if we don’t have interfaces in Ruby, we still can learn something from it.
Implementing Simple Classification using a Neural Network in Ruby
In this blog post I will show how to use a neural network in Ruby to solve a simple classification problem. We will be using the RubyGem ruby-fann to help us setup a network, train and make predictions in a matter of minutes. http://www.practicalai.io/implementing-simple-classification-using-neural-network-in-ruby/.
Preventing security issues in Ruby on Rails (based on OWASP cheatsheet)
Most important security issues (according to OWASP cheatsheet) in applications build with Ruby on Rails and the tips how to prevent them.
[Screencast] Virtual Columns in MySQL
In Ruby on Rails 5.1.0, generated virtual column support was added for MySQL and MariaDB. Using generated and stored columns can leverage heavy calculations to the SQL side.
How to test Rails app using Mocha JS and Chai JS ?
Test your all javascript in your rails app using mocha and chai js. Write tests run in a browser or on the console. Read more
Real World Sinatra
Real world Sinatra apps and their open source codebases for developers to learn from (inspired by the Real World Rails project).
Meet Rails 5: Tour The New Rails Generator
Generate a new Rails 5 app, tour the various directories and compare them to Rails 4 in this RubySnack: Tour The New Rails Generator
Random Ruby Newsletter, Issue #25
This newsletter started as Russian-language-only about Ruby, Elixir, and web but now I think it is ready to move forward. That’s why 25 and next issues are in English. Read more
Ruby Alternatives in 2017
A recent overview of Ruby (our favorite programming language) and other modern programming languages with data from Google Trends, StackOverflow Trends and other sources. Plus a Ruby community meetup style in Minsk.
You're Good Enough To Build Practical Rails 5 and Ruby Apps
If you’re really serious about “modeling” professional Ruby and Rails developers, so that you can accelerate your progress, get measurable results with your work and achieve your professional goals, you should check out Your Virtual Rails Client Training ». Read more
iniparser gem - read /parse INI configuration, settings and data files into a hash
Hello,
What’s your favorite datafile format? Awesome YAML or Awesome JSON (What’s Next)? I prefer good ol’ INI ;-) that’s why I published a new iniparser gem to read / parse INI configuration, settings and data files into a hash. Use $ h = INI.load_file( 'planet.ini' ); pp h. Cheers. PS: What’s INI? See the planet.ini as a “real-world” example.
READ Data Using Ruby API Clients
Here’s a quick video walkthrough (and step-by-step instructions) of how to READ data from a third-party SaaS app inside your Rails 5 application, using a Ruby API client.
Value Objects in Ruby on Rails
This blog post is about value objects and how they can be used and identified in your Rails application. I will explore some situations and give you some value object examples that should make your application simpler and easier to work with.
Awesome YAML - A Collection of Awesome YAML Goodies for Rich (Meta) Data in Text
Hello, YAML is (almost) everywhere in Ruby land (Rails fixtures, db config, etc; Jekyll front matter, datafiles, etc.). To collect the best (most awesome) goodies (links, articles, tips & gotchas, tools & services) about YAML (Ain’t Markup Language) I’ve started a new Awesome YAML collection page. Anything missing? Pull request welcome. Cheers.
Rails 5.1 Deployment Checklist for Heroku
Having just put THE CONF event site up with Rails 5.1 on Heroku, I decided to list the final touches everyone should do to production-ready content sites in Rails 5.1. It’s not an extensive and definitive checklist, so please add your suggestions too!
Small Is Big- Creating microservices with Sinatra and RabbitMq
- Over the years complexity of applications has increased exponentially, managing all the complexity in same code base created problems like scaling and code management . In recent past there has been lot of attention towards micro-services architecture, in which we break the monolithic application into multiple independent components which are also known as micro-services.
Ruby & The Strategy Pattern
Learn about the Strategy pattern and how to implement it in Ruby.