Rails 2.0 introduced protection for Cross-site request forgery (CSRF). This is turned on by default in your Rails applications. However, many developers are turning off this valuable protection rather than making the changes necessary to use it. This seems the same to me as leaving your door unlocked while your friend visits because cutting keys [...]
Learning Ruby on Rails with Heroku Episode 1
Ever since I saw Heroku I wanted to use it for a screencast on learning Ruby on Rails. This weekend I finished the very first episode! This episode is fairly light on Ruby on Rails content because I was so focused on screencasting and learning all about video and audio production for the web. So [...]
Take it to the next level with the Ruby on Rails console
If you are not using the Rails console while your developing then now is the time to start! I learn best by example, so that’s how I am going to structure this. Here’s the scenario: You are writing code against a class and need to determine which attributes you have available to you. In Rails, [...]
Running Ruby on Rails with Mongrel Clustering and Apache Proxy
Being a Rails coder is easy, deploying a Rails application can be hard. Through a great deal of effort, we’ll call it blood, sweat and tears, I have put together the following guidance on how to get your Ruby on Rails application up and running behind a Mongrel cluster using Apache Proxy. Here’s the deal, [...]
