RubyFlow The Ruby and Rails community linklog


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

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

  Today – Give away mock-up of a middleman website

Given you’re a professional website designer and would like to work on some wonderful project. This project might be about designing a new website with a blog and a shop for one of your favourite customers. To get involved in this project, she asked you to design a mock-up with your ideas first and send it to her. In this article I’m going to show you how you can give away your mock-up in an easy manner without setting up a full-blown web server stack. If you like my writing and don’t want to miss any new article, you may want to follow me on Twitter or subscribe to the news feed of my site.

Ruby 2.2.3 Binding Basics

Ruby 2.2.3 Binding basics such as binding, using binding with eval, local_variables, local_variable_set and local_variable_get. Watch it here

Effectively Debugging Capybara Feature Specs

Capybara/Selenium feature specs can be one of the most frustrating types of tests. There is a lot of unexpected behavior and many pieces to keep in mind. Code runs in separate threads, and both AJAX behavior and Capybara find methods create timing issues. The aim of this post is to describe a workflow that makes debugging more efficient. Effectively Debugging Capybara Feature Specs

Bottomless Ruby Hash

The other day somebody asked if there is a way to blindly assign nested values to Ruby Hash without creating each key. Turns out there is, and it has an interesting side-effect. Welcome bottomless hash. [more inside]

Single Purpose Principle

Learn the basics, avoid the confusion, recognize when you are violating the Single Purpose Principle here

Understanding and Extending Rails Form Helpers

Helpers in rails are meant to clean up view code by allowing you to extract data processing logic from your markup code. By moving the logic out, you get an added benefit, you can test your “view logic” easier. Read more

Fleeting Filing With Ruby Tempfile

Dealing with external file downloading and archiving can be complicated the first time around, particularly if you’ve never worked with Ruby’s File and Tempfile classes before. This blog post explores when and how to use Ruby tempfiles, including the order of operations when it comes to Tempfile method invocations.

Dive into Kubernetes and Docker

Baltimore has been celebrating Baltimore Innovation Week. The best part of the week was a developer conference. From my company, SmartLogic, one of our developers presented on Kubernetes and Docker. [more inside]

Loading older posts