Updates to Related_Selects plugin
Two weeks ago, Corey Ehmke sent a pull request for some updates he made to the related_selects plugin on GitHub. Im actually quite late in pulling these but I have been extremely busy with work and family stuff. New :include_blank support has been added as well as the docs being updated with better examples!
Related_Select plugin update for Rails 2.3
Last night I was looking for a solution that would allow me to easily create a setup of related select boxes. I needed 3 of them to be exact. You know the ones that always seem to pop-up from time to time where the contents of one select box are populated after selecting a value on the first select box. I started googling for a solution and came across a Rails plugin called related_select_forms that was written by Dimitrij Denissenko back in 2007. I figured "what the heck" it looks easy enough. Well after installing it from the svn repo on google code and setting up my initial form fields, I was welcomed by a plethora of errors. So I started digging into the plugin to find the issues and ended up fixing everything so that it now works with Rails 2.3.2.
Deployment Gotchas – Git And Capistrano
Im just starting to take the leap with Capistrano and so far Im loving it. It simplifies deployment task down to a single command-line call. In my book, that beats syncing the FTP, manually running migrations, etc. One issue I ran into last night though, was during my deployment, I clone my git repository to get the latest version of the application. Thats baked into Capistrano, very simple stuff. However, I kept getting an error that git-index-pack was not a git command.
Forms With Nested Resources In Rails
This post is more of an informational post for myself in case I forget this later on. I have been working on a client project thats using Ruby on Rails and I was having a little trouble getting my head around nested resources and the routing that goes along with that. Once I had the routing figured out, the next thing to address was handling my forms. Now, as with all things in programming, there is more than one way to "skin a cat" when it comes to this in Rails but for the most part, this is from what I can tell, the preferred method and I like it better than the alternative.
See if your Twitter friends follow you back
My buddies over at Less Everything have struck yet again! I seriously dont know where these guys find the time to build these apps and do client work. They must have an attic full of little Rails coding squirrels cranking this stuff out for them for the small price of a few acorns a day.






Recent Comments
Chris Carpenter on CFWheels Eclipse Dictionary Updated
Awesome, thanks for this. Just started using CFWheels and this is really handy. One thing that may catch people out,...Derek on CFWheels – Move Finders Into Your Model
I have same issue as your original. I know its over a year ago, but it's still the same. Have...Sensi on Installing Git on CentOS 5
Yeah works fine. But if you have centos5 min image installed you need some more packages. In my case the...Nurul Huda on Installing Git on CentOS 5
Nice tutorialsDaniel on Deploying ColdFusion Apps With Capistrano Part 2
In your experience, have you had any issues with coldfusion not being able to find files after a cap deploy?...