Archive for tag Rails
July 14, 2009 at 03:46 PM
· Tagged with rails
Working as part of a large team can mean one of two things: either you all have the exact same development environment, or you all have different setups with your own settings. Which one is most likely? In this article I'll highlight how to customize your rails application so that it will load your database configuration file rather than depending on the same one for everyone.
March 04, 2009 at 10:15 AM · Posted under Blog
· Tagged with rails
I had a bit of a stint recently developing some pseudo-theme functionality for a project here at Westfield. During that time, I've discovered a few "gotchas" relating to the view_paths variable within the controller.
November 04, 2008 at 03:17 PM · Posted under Blog
· Tagged with rails
When first learning how to write tests for rails applications (or anything for that matter), using RSpec, probably my biggest stumbling block, was mocking and testing my controllers. There was just so much to take in it was hard to make sense of it all. But, little by little I made progress. In this article I'll go over writing some basic tests for your controller and offer some of the methods you can use to write your tests.
October 29, 2008 at 10:20 AM · Posted under Blog
· Tagged with rails
Teachmate.org has open up it's doors and made the website's code opensource. Teachmate is about offering your knowledge to become and online teacher and/or to find people who would be willing to train you in a particular field, check it out: Teachmate. As far as I'm aware, this is one of the few actual websites where they have made their code opensource - this can only be a good thing for the web community!
I found this through the ruby on rails google group.
October 28, 2008 at 10:33 AM · Posted under Blog
· Tagged with rails
This is part of a 4-part series which will go over the various tests you can write for your models, controllers, views and acceptance using RSpec. My first article will begin with our application models and testing with and without database connectivity.
October 23, 2008 at 11:29 AM · Posted under Blog
· Tagged with rails
It's a rather convoluted way of getting a blog going, but in an attempt to learn more about web infrastructure and environments, I now own my own server, configured it for web requests and setup Ruby on Rails, along with related software, all just to get Mephisto running. And I'm not done there. This box will now be used for all my personal projects, including running as a UAT/Systest box for my more commercial projects.
This is also my first blog post here and will most certainly not be the last, as I write about my frustrations and victories in learning new and wonderful technologies (and some old), as well as tutorials and articles regarding PHP, Ruby, Rails and setting up a web server.