Best Practices
Ilya Bodrov-Krukowski walks through 10 common security issues when using Rails and how to avoid and manage each one.
Read The Conventions of Contributing to Open Source and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.
Viktoria Kotsurenko explains seven very useful design patterns and how they can be applied to MVC components in Rails to make your app more maintainable.
Viktoria Kotsurenko reviews some of the basics of MVC in Rails, showing why everything should be skinny.
Sarmad Sabih runs through some of his favorite best practices for Rails applications.
David Bush shows you some of the development tools he uses to be more productive in Ruby.
Sam Sarmad shows how he removed a ton of duplicated test code when testing ActiveModel validations.
Jesus Castello walks through the basics of cryptography using examples in Ruby. This is an excellent primer on crypto.
Read Learn Concurrency by Making a Countdown Latch in Ruby and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.
Fred Heath takes you through the ins-and-outs of modules in Ruby. Learn where modules fit in the Ruby Object Model and how to use the effectively.
Dhaivat Pandya covers two more Ruby interview topics: LRU Cache and Binary Trees. If you're interviewing any time soon, read this to get two more topics.
Dhaivat Pandya covers linked lists and hash tables from the Ruby interviewee's point of view. Get ready for Ruby interviews with this post.
Read What's in a Name? Anti-Patterns to a Hard Problem and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.
Robert Qualls looks at the Adapter Design pattern in various popular Ruby gems, following it up with an example implementation.
Read Improve the Smell of Your Code with Microrefactorings and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.
Fred Heath shows how Ruby can take patterns from other languages and clean them up using Modules to make your code concise and expressive.
Fred Heath zeroes in on several anti-patterns that are commonly perpetrated by Ruby Rookies. Fred also shows how to solve them.
Dhaivat Pandya explains the humble beginnings of WebSockets and how you can use them in Ruby today and in the future.
Secret Agent Richard Schneeman walks through the signals you should be using to kill processes, along with the code to handle the signals.
Darko Gjorgjievski takes you beyond the simple tutorials about Ruby error handling to the next level.
Nihal Sahu reports his findings on his first year in Ruby and what he discovered about the Ruby Community. Jump start your Ruby introduction.
Fred Heath walks through some common programming problems using Ruby Hashes as the solution.
Richard Schneeman explains how Ruby uses memory, running through various examples and methods. This information is something every Ruby dev should know.
Imran Latif explores Ruby's most important hook methods. Learn what these methods are and how Ruby's favorite gems are using them.
Abder-Rahman Ali continues the Ruby on Medicine series, showing how to use Ruby to smoothly scroll through VERY large (think, GBs) text files.
Glenn Goodrich takes us on a voyage aboard the vessel Codeship, exploring the high seas of continuous integration with the new ParallelCI tool
Abder-Rahman Ali follows up his interviews about text editor usage in Ruby with one about IDEs. Learn which IDE Rubyists prefer and why it's at the top.
Read Symbol GC in Ruby 2.2 and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.
Read Chruby and Rbenv Tips and Tricks and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.
Conditionals aren't bad, but they sure do have a tendency to proliferate. Here we'll look at a conditional and how to gain a small measure of control