Less than 1 min to read (58 words)

Leap Year

Tags: rails

I wanted to start Github Gists with this simple coding kata I just did. One critique I have of my code is that the naming of the divisible_logic? method is unclear. However, this problem is confusing to read. It was only when I tried out the samples they mentioned that I understood what the question meant.

posted 2015-06-28 20:08:21 -0700 by Belda

Recommended from Stack Overflow:

Rails 4 fingerprinting causing 404 for bootstrap assets in production environment , tagged: ["ruby-on-rails-4", "asset-pipeline", "bootstrap-sass", "asset-finger-printing", "precompile-assets"]

How to run spec for a gem in your path , tagged: ["ruby-on-rails", "ruby", "rspec", "gem", "rails-engines"]

Google Polymer with Rails menu not working , tagged: ["javascript", "ruby-on-rails", "ruby-on-rails-4", "polymer"]

How to test module using concerns and associations, via dummy ActiveRecord model in specs , tagged: ["ruby-on-rails", "ruby", "activerecord"]