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.
Thou Shalt Not Complicate, Pt.1: Three Kinds of Programmers
A strong rant on what kinds of good programmers exists, and which of them Ruby suits best.
Ruby Tip - Capitalize Only First Letter Of Each Word in String & Leave The Rest Alone
How to do better string titleization in Ruby.
Rails Tip - Uninitialized Constant Model When Plural Is The Same As Singular
Dealing with model names that are the same in singular and plural ex. equipment
Continuous Integration for Ruby Security
Introducing continuous integration on Hakiri. You can now automatically scan GitHub pull requests for security vulnerabilities. It’s completely free for open source projects.
Deep Linking with React + Flux
Background React + Flux Read more
Working Hard or Hardly Working, Part 2: Custom Jobs
With the advent of ActiveJob in Rails 4.2, writing custom jobs has never been easier. This blog post unpacks job generating, writing, and execution, and also highlights some tips and tricks like using the touch method!
Ruby 2.2.2 Array Basics : Part 6
Ruby 2.2.2 Ruby methods such as collect, map with index, map, combination, compact, concat, delete_at and delete_if. Watch the video here.
Just learn Rails (Part 3) HTTP status codes
So you want to be a Rails superstar? To live large, big servers, requesting tars. Writing code all over the world, gotta make commits constantly. Great, I feel the same way. Read more
Fixing Command Injection Vulnerabilities in Ruby/Rails
How do you prevent command injection vulnerabilities? By not allowing them in the first place! Learn how to safely make system calls in ruby & rails
Introspection by Design in Ruby
Using messaging as a pattern for return objects allows for powerful introspection, simpler system design, and better Tell Don’t Ask systems. Read more: Introspection by Design in Ruby
Ruby on a Plane
In the past few years I’ve spent an awful lot of time at airports, on airplanes, and in trains. I love my job, it gets me to places I never would have dreamed I’d ever go, but it can be damn hard on someone who needs a decent wifi connection to do be productive. Read more
Ruby's built-in databases - meet PStore and YAML::Store
Ruby has two fantastic methods built-in that let you save data without using a full-blown database. Learn about PStore and YAML::Store and how to use them!
any_login - one more way to make your deveplement life easier
Please check my first gem https://github.com/igorkasyanchuk/any_login . It can really make your life easier with changing logged in user. Your feedback is appreciated. Video: https://www.youtube.com/watch?v=978DlHvufSY&feature=youtu.be
The History of Ruby on Rails
Known as ‘Ruby on Rails’, ‘RoR’ or ‘Rails’, Ruby on Rails is a rapid web development framework developed in Ruby. Created in 2003 by David Heinemeier Hansson, while working on the code base for Basecamp, a project management tool, by 37signals, it was officially released in July of 2004 as open source code. Visit RailsCarma Blog , to read full article.
Ruby 2.2.2 Array Basics : Part 5
Ruby 2.2.2 Array methods such as any?, assoc, at, bsearch and clear. Watch it here here
Ruby 2.2.3 Hash Basics Part 1
Watch the video here : Ruby Hash Basics
Don't tell me what to do
Do you know what’s wrong with articles or solutions saying that you should ditch your ORM, abstract everything from the framework, create six layers of abstraction and break you app into dozens of microservices? There’s no silver bullet. Read more.
rugby.db - Free Open Public Domain Datasets - Incl. Rugby World Cup 2015 England
Hello, Not interested in football? No worries ;-) For the Rugby World Cup 2015 now taking place in England - from Sep 18 to Oct 31 - I’ve put together free open public domain datasets in the new /rugby.db repo that you can read into your SQL database of choice (e.g. SQLite, PostgreSQL, etc.) with the sportdb machinery (gems ‘n’ scripts in Ruby). Note: The repo includes an inline (in-situ) datafile, thus, to build yourself a copy, use: $ sportdb build That’s it. Enjoy. Cheers.
Pronto can now make your Rubies go fasterer!
Pronto performs quick automated code reviews with the help of various analysis tools (RuboCop, Brakeman, Flay, etc.) by checking only the introduced changes. And now it also can make your Rubies go fasterer with the help of, you guessed it, fasterer! Check it out: Pronto and pronto-fasterer.
Programming beyond practices
Writing code is the easy part of software development. I’ve started a new email newsletter that’s meant to teach you about the other 90% of programming.
Serving files from local directories via HTTP
If you need to share files from your local system with others, you’ve got plenty of options. In this article I am going to show you, how I solved the problem.
Ruby 2.2.2 Array Basics : Part 4
Ruby 2.2.2 Array manipulations using &, *, +, -, «, <=> and ==. Watch the video
Double Nested Association Setup With Formtastic and Cocoon in Rails
Setting Up a Has Many / Has One Nested Association With Formtastic and Cocoon in Rails 4.2 Read more
5th edition of RubyIssue(s)
A curated list of ruby related issues collected from GitHub. Bi-monthly email delivery. This edition points to issues of ROM, shoes, rorganize.it and the open data maker project of 18F. It also honors people fixing issues from the last edition.