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.
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.
Day 13 - Ruby Advent Calendar '17 - schemadoc - Auto-gen your database schema docu
Hello, welcome back to the Ruby Advent Calendar 2017. Let’s continue the series on Day 13 with schemadoc - Auto-generate your database schema documentation for tables, columns, etc; use your own (static) jekyll themes; connects w/ ActiveRecord (SQLite, PostgreSQL, etc.) Cheers. PS: You’re more than welcome to send in your articles (about your library / gem of choice) too!
Getting Started with Metrics in Rails
If you’re anything like me, you’re new to the metrics scene. You hear its siren call and you want to find out more, but you don’t know where to start. This guide is where you want to get started with Rails + Metrics: https://www.influxdata.com/blog/metrics-for-true-beginners/
Ruby Is Hiding Errors From You!
Did you know that Ruby hides some exceptions from you capturing them silently? Learn more in my new article: http://www.rubyguides.com/2017/12/ruby-hiding-errors/
Reimagining 2D graphics and game development with Ruby
Check out my RubyConf 2017 talk, “Reimagining 2D graphics and game development with Ruby,” and learn how you can build 2D apps with Ruby using MRI, mruby, and Opal (slides, transcript, and links also here): blacktm.com/rubyconf
Modern Front-end in Rails. Part 2
Part 2 (out of 3) of already much-discussed opinionated guide to modern, modular, component-based front-end in Rails 5.1+ with no front-end frameworks involved. This part describes building a scaffold for a simple chat app from JS/CSS/ERB components.
Surprises with Nested Transactions, Rollbacks and ActiveRecord
Wrote up a blog post about how ActiveRecord nested transactions together with rollbacks deeply surprised and confused me along with all the people I showed it to.
Top 9 Ruby Articles to Improve Your Web Development
https://blog.rubyroidlabs.com/2017/12/rails-bundle/ Save time and boost your skills with this bundle of articles proven by Ruby community.
Detect bottlenecks before your code is in production
RorVsWild released a new gem version (1.3.0) which allows you to profile requests directly from your developement environnment (à la rack-mini-profiler): https://github.com/BaseSecrete/rorvswild
Day 12 - Ruby Advent Calendar '17 - pluto - Auto-build web pages from web feeds
Hello, welcome back to the Ruby Advent Calendar 2017. Let’s continue the series on Day 12 with pluto - Auto-build web pages from published web feeds. Planet (static) website generator. The Future of Online News - The Future of Facebook & Co - Web Feeds, Web Feeds, Web Feeds. Cheers. PS: You’re more than welcome to send in your articles (about your library / gem of choice) too!