In this tutorial we are going to create Hangman, a simple game in which the players try to find a word that our application chooses, by selecting letters.
We will use:
Rails (version 4): you know what this is otherwise you are in the wrong place
Foundation: for the looks & feels
Font Awesome: for icons
- See more at: http://www.arubystory.com/2015/02/tutorial-hangman-on-ruby-on-rails-on.html#sthash.78wc8VAr.dpuf
When I am working on a Ruby on Rails application views and I see more Ruby code then markup I move that logic in to a helper.
If the helper needs to output markup you should avoid using a blob of text perhaps interpolated with variables with the results of your logic.
Is your GitHub contribution chart solid gray? You could use an open source project to work on. But you don’t have to start it from scratch. The easiest way to create a useful side project is to pull it out of the app you’re already building. That’s how Rails was born!
“Capify” a new Rails app and deploy it to your VPS using Capistrano and Puma.
Start by provisioning an Ubuntu 14.04 VPS, then install Ruby with rbenv.
Let’s talk about Set Intersection in Ruby.
There are times when you have two or more groups of data and you want to know what is common between them. When this happens it is good to know about set intersection.
Using a Registry to look up collaborators in Rails, like external APIs.
Welcome. The Ruby Gem of the Week series presents a new Ruby library every week
Have your say!
Do you have a Ruby gem that you'd like to write about?
We love guest posts.
Send in a pull request or
open an issue ticket
to get the conversation started and your article posted on Planet Ruby.