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.
Webinar today: Is Ruby dead? What's the future for Ruby?
Hey all, it’s Andrzej from Arkency [more inside]
Some of the most popular Ruby links of 2017
A round-up of Ruby highlights from the past year.
Counting Or Sorting By An Association In A Rails SQL Query
I was having issues writing a SQL query with GROUP BY so I wrote a blog post in order to dig deeper: Counting Or Sorting By An Association In A Rails SQL Query
Day 19 - Ruby Advent Calendar '17 - merkletree - Build your own crypto hash trees
Hello, welcome back to the Ruby Advent Calendar 2017. Let’s continue the series on Day 19 with merkletree - Build your own crypto hash trees; grow your own money on trees. Happy (crypto) hashing & minting. Cheers. PS: You’re more than welcome to send in your articles (about your library / gem of choice) too!
Lesson learned after trying functional programming (as a Ruby developer)
Ruby is all about Objects. But in this article we will have a look on how your Ruby and Ruby on Rails application team can benefit from more more functional flavor of programming. [more inside]
A general guide to upgrading Ruby in your Rails applications
In honor of the pending release of Ruby 2.5, I’ve written up the general approach I take to upgrading a Rails application’s Ruby version for Everyday Rails, including why to upgrade, when (and when not) to upgrade, and how to upgrade. Thanks for checking it out, and I hope you find it useful!
Introducing sequel_tools: Rake integration over Sequel migrations and related tasks
A few days ago I created the sequel_tools gem to make it easier to integrate Sequel migrations and related tasks to Rake. I’ve also written about the reasoning behind it in a two-sections article. The first section is very long and completely optional and I’d advise you to skip it unless you enjoy reading rants. The other section talks about the sequel_tools gem and its features and some reasoning behind some decisions.
Day 18 - Ruby Advent Calendar '17 - slideshow (s9) - Write your slides/talks in text
Hello, welcome back to the Ruby Advent Calendar 2017. Let’s continue the series on Day 18 with slideshow (s9) - Write your slides / talks / presentations in (structured) text with formatting conventions in markdown - kramdown really ;-); build (static) webpages w/ (jekyll-compatible) theme packs incl. Reveal.js, Bespoke.js, Impress.js, and many more. Happy writing, publishing & talking. Cheers. PS: You’re more than welcome to send in your articles (about your library / gem of choice) too!
tty-font release!
I’ve released tty-font for writing large stylised letters in terminal friendly fonts. If the “star wars - the last jedi” logo doesn’t impress you then I don’t know what will ;-) Check it out!
Validating your JSON payloads
Test your JSON output in Ruby, with a DSL that makes reasoning about your JSON very straightforward. See the Homepage for docs. [more inside]
Day 17 - Ruby Advent Calendar '17 - annotate - Annotate Your ActiveRecord Models
Hello, welcome back to the Ruby Advent Calendar 2017. Let’s continue the series on Day 17 with annotate - Annotate your ActiveRecord models with comments about your database table structure (SQLite, PostgreSQL, etc.). Happy hacking. Cheers. PS: You’re more than welcome to send in your articles (about your library / gem of choice) too!
Building a DSL in Ruby - Part 2
In this second blog post, we finish the DSL we’ve started building in part 1!
Let's create an intermediate level Ruby On Rails application
I wrote a detailed post on how I build Ruby On Rails apps. It includes real time features, testing, refactoring, authentication and much more. https://medium.freecodecamp.org/lets-create-an-intermediate-level-ruby-on-rails-application-d7c6e997c63f
Lightweight Docker development environment for Rails using Alpine Linux
Day 16 - Ruby Advent Calendar '17 - gli - Build Awesome (Git-Like) Command Line Tools
Hello, welcome back to the Ruby Advent Calendar 2017. Let’s continue the series on Day 16 with gli - Add Git-like interfaces (GLI) to your awesome command-line tools; talk to your computer (bots) in the shell in text; commands, commands, commands. Thanks to David Bryant Copeland for publishing more than 70+ releases since 2009 - leading to today’s version 2.17+ and more than 8 million downloads. Happy scripting & talking.Cheers. PS: You’re more than welcome to send in your articles (about your library / gem of choice) too!
Day 15 - Ruby Advent Calendar '17 - kramdown - Turn Plain Text into HTML or LaTeX
Hello, welcome back to the Ruby Advent Calendar 2017. Let’s continue the series on Day 15 with kramdown - Turn easy-to-read and easy-to-write (structured) plain text with “lite” markup formatting conventions in markdown into web pages or latex typesetting documents; welcome to the future of writing :-) - structured documents in plain text with “lite” markup formatting conventions in markdown for paragraphs, headings, bullet lists, numbered lists, code blocks, links and much more. Thanks to Thomas Leitner for publishing more than 50+ releases since 2009 - leading to today’s version 1.16+ and more than 10 million downloads. Happy writing & publishing.Cheers. PS: You’re more than welcome to send in your articles (about your library / gem of choice) too!
Why you should consider getting an IDE for Ruby and Rails
As we often hear the question “What does RubyMine do that a text editor can’t?” I decided to write an article about Code Insight that discovers the exact features our users love us for (not all of them though). If you’re new to RubyMine, check it out: RubyMine: Code Insight for Ruby and Rails
SWOT analysis of Ruby on Rails
I just published a blog post about SWOT analysis of Ruby on Rails.
jsonapi-rb - JSON API library for ruby
jsonapi-rb is an efficient and convenient JSON API library for ruby, that can replace active_model_serializers. A complete suite has been built around jsonapi-rb that allows building full-featured, flexible APIs with ease.
Sinatra Webpack Vue.js SPA Template Project
If you want to use webpack and Vue.js with Sinatra, not Rails 5.1, you can start with this template project: https://medium.com/@kopilov.vlad/sinatra-webpack-vue-js-spa-template-project-333d44fcdc54
Day 14 - Ruby Advent Calendar'17 - hoe - Build, package and publish gems
Hello, welcome back to the Ruby Advent Calendar 2017. Let’s continue the series on Day 14 with hoe - Build, package and publish gems with hoe; use build scripts with ready-to-use rake (ruby make) tasks; automate, automate, automate. Thanks to Ryan Davis and friends (from Seattle.rb) for polishing the gem all those years - more than 100+ releases - leading to today’s version 3.16. Happy scripting & automating.Cheers. PS: You’re more than welcome to send in your articles (about your library / gem of choice) too!
What's News in Ruby 2.5? Upcoming Dec, 25th 2017 - Add Your Ruby 2.5 Articles / Posts
Hello, over at the Ruby Advent Calendar 2017 counting down to Dec, 25th I’ve added a news block collecting articles / posts about Ruby 2.5. Anything missing, let us know (or better add your missing Ruby 2.5 post / article in the markdown page on github). Happy hacking & scripting with Ruby.