InfoQ: RESTfulie – A Gem To Create Hypermedia Aware Services And Clientshttp://www.infoq.com/news/2009/11/restfulie-hypermedia-services
Guilherme Silveira writes to InfoQ on the release of a ruby gem that makes developing hypermedia aware services and clients that consume them a breeze. He saidMuch has been spoken about what is and what are the advantages of using rest/restful ideas in one’s application. Last year, Mark Baker wrote …

Learn Ruby with the EdgeCase Ruby Koanshttp://rubykoans.com/
These instructions are for *nix platforms. We also have Windows instructions .You can run the tests by calling the path_to_enlightenment.rb file.In your terminal, while in the ruby_koans directory, type:In test-driven development (TDD) the mantra has always been red: write a failing test and run …

Using Redis with Ruby on Railshttp://jimneath.org/2011/03/24/using-redis-with-ruby-on-rails.html
Redis is an extremely fast, atomic key-value store. It allows the storage of strings, sets, sorted sets, lists and hashes. Redis keeps all the data in RAM, much like Memcached but unlike Memcached, Redis periodically writes to disk, giving it persistence.Redis is an open source, advanced key-value …

Delivering email with Amazon SES in a Rails 3 app — giant robots smashing into o…http://robots.thoughtbot.com/post/3105121049/delivering-email-with-amazon-ses-in-a-rails-3-app
We’ve been using and loving Sendgrid on all our apps. However, Amazon SES came out last week and… you know… shiny.Right now, price. At our current email rates, we would save more than $10,000 in 2011 using Amazon SES over Sendgrid for Hoptoad.However, Sendgrid’s a reliable entity with more features …

Getting Input: Ruby Study Notes – Best Ruby Guide, Ruby Tutorialhttp://rubylearning.com/satishtalim/getting_input.html
So far we had seen a method like puts that writes to the screen. How does one accept user input? For this gets (get a string) and chomp are useful. The example p005methods.rb below illustrates the same.# p005methods.rb # gets and chomp puts “In which city do you stay?” STDOUT.flush city =

The JRuby Blog : Getting Started with JRuby and Java 7http://blog.jruby.org/2011/12/getting_started_with_jruby_and_java_7/
Unless you’ve been living under a rock, you’ve probably heard about the new hotness for JRuby: Java 7’s support for dynamic languages. You may also have heard about the huge perf gains that JRuby’s seeing when running on Java 7. How can you try it yourself?The reference implementation for Java is …

Go Fetch | Virtuous Codehttp://avdi.org/devblog/2009/03/16/go-fetch/
I’m a fan of the method in Ruby. I’ve noticed that other Rubyists don’t use it as much as I do, so I thought I’d write a little bit about why I like it so much.First of all, in case you’ve forgotten, is a method implemented on both and , as well as some other Hash-like classes (like the built-in …

Null Objects and Falsiness | Virtuous Codehttp://avdi.org/devblog/2011/05/30/null-objects-and-falsiness/
Very often in Ruby code, we would like to execute some action only if an object is present:Strictly speaking, we aren’t checking for object presence here. In Ruby there is almost always an object present, but the default marker for missing data is the special object—the one and only instance of …

Concurrency in JRuby | Engine Yard Bloghttp://www.engineyard.com/blog/2011/concurrency-in-jruby/
This is a recap of my talk on the same subject at EventMachine RubyConf in Baltimore on the final day of RailsConf 2011.Concurrency is a hotly debated subject in the Ruby community. Shared state or shared nothing? Threads or Events? Sync or Async? The fact that the standard Ruby interpreter does …

InfoQ: Adding Properties to Ruby Metaprogramaticallyhttp://www.infoq.com/articles/properties-metaprogramming
Properties… the next frontier. Well, at least if you can’t stop yourself from watching the Java blog space, which is abuzz with discussions about this topic. Are Properties the next feature to save the world, give us that so desperately needed silver bullet, and finally make Java developers feel …

Ruby Programming – Calling Methods Dynamicallyhttp://www.linuxtopia.org/online_books/programming_books/ruby_tutorial/Refl...
C and Java programmers often find themselves writing some kind of dispatch table: functions which are invoked based on a command. Think of a typical C idiom where you have to translate a string to a function pointer: In Ruby, you can do all this in one line. Stick all your command functions into a …

Ruby dynamic method calling | Khaled alHabache’s official bloghttp://www.khelll.com/blog/ruby/ruby-dynamic-method-calling/
I’m pretty sure that you have heard lots about ruby, specially as being a dynamic language, you can create methods on the fly, add instance variables, define constants and invoke existing methods dynamically , and that’s what this post is all about :As you know in ruby you can call a public …

Ruby Modules and Mixinshttp://www.tutorialspoint.com/ruby/ruby_modules.htm
Modules are a way of grouping together methods, classes, and constants. Modules give you two major benefits.Modules define a namespace, a sandbox in which your methods and constants can play without having to worry about being stepped on by other methods and constants.Module constants are named …

Implementing Namespaces in Ruby using Nested Moduleshttp://pietschsoft.com/post/2008/11/02/Implementing-Namespaces-in-Ruby-usin...
Recently, I finally got around to starting to learn Ruby. I am finding it to be rather pleasant to program in. Now, one thing that I am used to using with an Object Oriented language (especially with my .NET background) are Namespaces. The only problem is that you can’t just declare a namespace in …

Include vs Extend in Ruby // RailsTips by John Nunemakerhttp://railstips.org/blog/archives/2009/05/15/include-vs-extend-in-ruby/
Now that we know the difference between an instance method and a class method, let’s cover the difference between include and extend in regards to modules. Include is for adding methods to an instance of a class and extend is for adding class methods. Let’s take a look at a small example.As you can …

Ruby Mixin Tutorialhttp://juixe.com/techknow/index.php/2006/06/15/mixins-in-ruby/
In Java you just have classes (both abstract and concrete) and interfaces. The Ruby language provides classes, modules, and a mix of both. In this post I want to dive into mixins in Ruby.In the Ruby language a mixin is a class that is mixed with a module. In other words the implementation of the …