Category Archives: 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
JQuery-UI verus SimpleForm for Rails Forms processing
Recently, I had a conversation with a colleague about using JQuery UI to layout form processing for a Ruby on Rails application. I cautioned them against it. In general, I’ve found more success using the simple_form library for generating form … Continue reading
How To Get Started with Ruby on Rails — Where should you start?
A friend of mine is beginning an effort to learn Ruby on Rails. He asked me where to start and I sent him a few links that I felt covered some of the key components of Rails that were critical … Continue reading
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
Example code for storing environment-specific configuration variables in rails
Here’s some example code I’ve used for storing configuration variables using Ruby on Rails. This code allows for defaults as well, so you only have to specify variables per environment if they override the default value. This first file should … Continue reading
‘seed’ data versus ‘testing’ data (and custom rake tasks) for Ruby on Rails
I’ve been a part of discussions on how to define ‘seed’ data versus ‘testing’ data on a Ruby on Rails project. Here’s a summary of what I’ve seen work well — please comment if you have anything to add. Data … Continue reading
Overriding the OmniAuth callback url for twitter or facebook oath processing.
A lot of people are now using OmniAuth for Oath processing to connect applications to twitter, facebook, linkedin or any number of other SAAS applications. It’s easy and it works well. I’m using it for some work I’m doing with … Continue reading