Posted on August 15th, 2008 by Jeff
There’s an emphasis in the Rails community on testing as you write your code. So much so that the built in code generators will generate unit tests right alongside your models. You can even generate integration tests too.
So here we are, merrily generating models, controllers and more. We’re writing code, writing tests and even running [...]
No Comments »
Filed under: Rails
Posted on January 14th, 2008 by Jeff
Last time, I promised that we’d make our testimonial application more friendly for users and less so for spammers and that’s what we’re going to do today, among other things of course. Let’s get’r done!
Somehow, we overlooked the user’s name when we created the schema for the testimonial leaving us only the email address to [...]
No Comments »
Filed under: Rails, walkthrough
Posted on January 7th, 2008 by Jeff
While working on the Testimonial application, I needed a way to store application specific configuration details — the parts that are specific to a deployment: site name, url, etc. A quick search turned up the ApplicationConfiguration plugin which does exactly that, using YAML. It’s based on the technique described by Dmytro Shtefluk and uses [...]
No Comments »
Filed under: Rails
Posted on December 7th, 2007 by Jeff
Those guys over at 37signals have done it again and given us a nice shiny present for Christmas: Rails 2.0! Head on over to the Ruby On Rails weblog for the full details. The big feature for me is the debugger… it’s back! It’s just a
gem install ruby_debug
away! I’ll be [...]
No Comments »
Filed under: News, Rails, webdev
Posted on December 2nd, 2007 by Jeff
It just occurred to me that I never mentioned how to log in to the testimonial demo application. If you would like to play with the admin interface, such as it is, you will have to login as the user demo using the password demo. Feel free to add, delete, approve, and unapprove testimonials [...]
No Comments »
Filed under: Rails, walkthrough