Tag Archives: ruby on rails

Securing Cloud-Based Ruby on Rails Applications: Why I like Engine Yard.

A customer of mine referred me to an article on Cloud Deployment on Amazon Web Services’ EC2 platform that discussed common security holes users are leaving in their instances. The article, Amazon’s Cloud is Full of Holes, warned that poor … Continue reading

Posted in aws-ec2, cloud, code, leanstartup, programming, rails, ruby on rails | Tagged , , , , | 2 Comments

Interview with David Heinemeier Hansson (DHH), Creator of Ruby on Rails.

[This article originally appeared as the cover story Linux Journal Issue #147, published in July of 2006 -- back when I was still just learning Ruby on Rails. -- Kevin Bedell] Kevin: For our readers who are unfamiliar with Ruby … Continue reading

Posted in interview, programming, rails, ruby on rails | Tagged , , , | 3 Comments

A simple example of automating the creation of named_scopes in rails

Here’s a common scenario: You have an attribute that can be a set of specific values, like the status of a transaction that can be ‘processing’, ‘succeeded’ or ‘failed’.  You now want to make it easy to check these values … Continue reading

Posted in ruby on rails | Tagged , , , | Leave a comment

How to get the contents of the database.yml file from ActiveRecord

Save to delicious. Sometimes when using Active Record you may want to create a database connection to a database other than the default database specified in your database.yml file. When this happens, the easiest way to do it is to … Continue reading

Posted in ruby on rails | Tagged , , , , | 1 Comment