Blog - .NET, ASP.NET, AJAX, Ruby and more

Monthly Archives: April 2010

Ruby Beauty – Dynamically Invoking Methods

Continuing with my exploration of Ruby as a .NET guy, here’s another example of Ruby’s expressive syntax in action.  I decided to add bite size snippets of some of the cool things I encountered in Ruby and Rails.  If you are interested in others, see my other Ruby posts. Within the context of Ruby, you [...]

Posted in Ruby | Tagged | Comments closed

Installing Ruby on Rails on Windows

So it’s not like this doesn’t exist elsewhere on the ‘net, but in case you stumbled upon one of my other Ruby on Rails posts and I caught your interest, here’s how to get started developing Rails apps on Windows.  If you’re a little resistant to try Rails, look how simple the install is.  What [...]

Posted in Ruby on Rails | Tagged , | Comments closed

Ruby Beauty – Iteration with an Index

I just love how expressive and clean Ruby’s syntax is.  How often do you need to iterate over a collection and get a count as well?  That sort of code is ugly in something like C#, but in Ruby: people = %w{Dave Bill Mike Mark John} # Simple collection of names people.each_with_index { |name, index| [...]

Posted in Ruby | Tagged | Comments closed

Ruby on Rails Shared Hosting Mongrel Issues

I have had just about nothing but issues getting my Rails application running on my shared host.  I’m not going to mention the company since they have been somewhat helpful, however I’m not thrilled with them.  I don’t want to give them any good or bad press without giving them a fair chance.  I’ve been [...]

Posted in Ruby on Rails | Tagged , | Comments closed