Tag

ruby

15 posts tagged “ruby”.

  1. Template with Context using ERB Recently, I was required to build a template rendering component that should render within a dynamic context, i.e. it would have methods / variables … erbrubytemplate
  2. Google Code Jam 2014 Qualifiers Google Code Jam has always been a competition I have cherished, simply because the problems they post are brilliant and the closest to reality as … codecodejamgooglejamruby
  3. VIM – Toggle Ruby Hash Syntax Ruby 1.9 introduced a new json style ruby hash syntax. Although we can use this to define static hash objects and puts a limitation on the key we can … hashrubyvimvimlvimscript
  4. ActiveRecord like where for array of hashes in ruby Edit : Updated the code as per the suggestions made by Masklinn. Recently I was working on Issue#1 of my Soulmate Rails gem, which is a very simple … railsrubysoulmatesoulmate_rails
  5. Soulmate Rails UPDATE : I released the first stable version 0.2.1, it should be usable as is without any issues. One of the most common things to do in any standard … autocompleteautocompletionrailsredisruby
  6. VIM in my muscle memory I have been an ardent VIM user for almost 4 years now, and it’s been a while since I have been wanting to write this Blog. My motivation is not … rubyvim
  7. Getting started with Ruby – TOC Hi, I have written a series of articles (in several parts) in an attempt to guide beginners to get comfortable with Ruby. This article is my attempt … beginnersguiderubytoctutorial
  8. MongoMapper Plugin – Versionable There was a requirement at one of our projects here at Artha42 Innovations Private Limited that our Mongo Mapper documents have inherent versioning so … mongomapperpluginrubyversionable
  9. Calculating Hashes Showcasing how to calculate hashes in Java, C# and Ruby! Java : public String getHash(String message, String algorithm) { try { byte[] buffer = … c-sharpc#csharphashjava
  10. Getting started with Ruby – Part 6 After having covered most of the basics of Ruby, lets get started on an actual problem, just like I had promised in my previous article – Getting … alienbeginnerslanguageproblemruby
  11. Getting started with Ruby – Part 5 Hi in my previous article Getting started with Ruby – Part 4 I covered Hashes & blocks. Today I will take you through the various forms of loops … all?any?beginnersbreakcollect
  12. Getting started with Ruby – Part 4 – Hashes & Blocks In my previous article Getting started with Ruby – Part 3 I started with Collections and covered basics of Ranges & Arrays. Like I mentioned … beginnersblockshashesruby
  13. Getting started with Ruby – Part 3 – Collections, Ranges & Arrays In my previous article Getting started with Ruby – Part 2 I introduced you all to Ruby & its philosophy and I started out with data type classes … arrayarraysbeginnerscollectionsrange
  14. Getting started with Ruby – Part 2 – Introduction & Philosophy Hi again, this is part 2 of my series of articles to help beginners getting started with the Ruby programming language. At this point of time I would … beginnersintroductionintruphilosophyruby
  15. Getting started with Ruby – Part 1 Before we get started with Ruby, let me first give you a brief on who I am, I am Dhruva Sagar, a software engineer having a little over 4 years of … beginnersruby