Here’s what’s been happening the last 3 weeks in Hobo.
Unit tests have been updated, and integration tests have been added. More information is available in this post.
Hobo finally supports Rails 2.3. More information, and instructions on how to upgrade are available in this post
As Tom mentioned we hope to get Hobo 1.0rc1 out soon. The code is frozen, we’re only fixing bugs. Please ensure you’ve entered any bugs you find in our Lighthouse so we don’t miss any. And if you have any changes of your own, please send patches or pull requests quickly.
The --no-rails option was added to the hobo command to make it
available when hobo is run as a plugin. See this recipe for more
details on how to upgrade to a plugin
Edge Hobo finally includes support for Rails 2.3. Edge Hobo should continue to be backwards compatible with Rails 2.2. This support is new, so please help us out by testing it on your application.
You can upgrade your application to use Rails 2.3 very simply:
sudo gem install rails -v 2.3.2
sed -i 's/2.2.2/2.3.2/g' config/environment.rb
rake rails:update
Rails 2.3 adds support for nested model forms. Hobo has included support for nested model forms for quite some time now. This has not been removed from Hobo, so you now have two mechanisms for nested model forms:
Hobo style:
has_many :stories, :accessible => true, :dependent => :destory
Rails 2.3 style:
has_many :stories, :dependent => :destory
accepts_nested_attributes_for :tasks, :allow_destroy => true
After Hobo 1.0 is released we may decide to migrate Hobo over to the Rails 2.3 style nested models. But Hobo 1.0 will support Rails 2.2 and therefore must include its own nested model support.
I’ve been a sponsored member of the Hobo team for about 2 weeks now. One of my first acts was to fix bug 368. In the process, I created Bug 400! It’s a good thing that one of my focuses will be to increase the Hobo test coverage.
Hobo has a set of unit tests and doctests. I’ve updated these so that they all pass. To run them:
rake test_all
You may have to install/upgrade rubydoctest:
gem sources -a http://gems.github.com sudo gem install bryanlarsen-rubydoctest
I’ve created several integration tests for Hobo. Integration tests live in Agility.
There are two different types of integration tests in Agility: Webrat and Selenium.
To run the webrat tests:
rake test:integration
To run the selenium tests:
vi config/selenium.yml # edit appropriately script/server -e test -p 3001 & rake test:acceptance
Things may have been quiet on the blog, but those who’ve been following the hobousers google group or keeping an eye on the github commits will know that the Hobo project is just as active as ever. In fact we have a couple of news items for y’all
First up, I’d like to give a big welcome to Bryan Larsen, who is now working on Hobo full time. Bryan made some excellent contributions entirely off his own back, and he happened to come to the end of a previous project at just the right time so we snapped him up. A big thanks too to our good sponsors at Barquin International for helping us to bring Bryan on to the team.
As requested on hobousers, we’re going to start putting out regular updates on the blog about the latest changes to the code; a sort of “This week in Edge Hobo”. Bryan will be helping out with these posts.
And the other little item of news is that we’ve started the push to Hobo 1.0. The feature set is frozen at this point, and we are working our way through bug fixes, improving the test coverage and docs. If you’ve got a pet bug that you want to see fixed in Hobo 1.0, make sure it’s ticketed.
Stay tuned!
Find what you're looking for quickly by using our keyword search. Can't find it? Try our links below.