The MySQL-dump blog posted on some observed rubyisms while evaluating a large ruby application. He highlights some potential problems with ActiveRecord that may come up, such as using “SELECT *”, character sets, unsigned integers, and constraints.
Wow, has it been two years already? Geoffrey’s been a major positive force in the Rails community even longer then that, starting with the humble Pluralizer, which helped us all figure out what table names our ActiveRecord models were supposed to be using. For his next podcast, he’s turning the tables and letting himself be interviewed by Dan Benjamin. Be sure to send in some challenging questions (see Geoffrey’s blog post for details).
Congrats on the milestone, Geoffrey, Scott, and everyone else that’s been involved with the Rails Podcast!
Jason Perry has started a survey at http://railsforge.com/, asking for community feedback on whether a Rails-specific forge-site would be useful or not. What are your thoughts? Head on over and let him know!
The Haml team recently announced the release of Haml 1.7, which is an alternative markup system that you can use in Rails, instead of the default ERb-based markup. Version 1.7 is significantly faster than previous releases (and is almost as fast as Rails’ default system, now!). There are a few other new features, too: read all about it in the release notes. Great work!
ActiveReload has just released Warehouse, a simple subversion browser written using Rails. It sports a beautiful UI and can handle the mundane task of user and permission management for you. It’s also being distributed in a unique fashion for most Rails applications. Instead of being hosted, it is sold and downloaded to be installed on your own server.
If you’re interested, check us out at the Warehouse site.
Michel Barbosa has completed his bachelor thesis Delivery of the Key Adoption Factors and Key Characteristics of Companies Using Ruby on Rails. It presents research he has done and conclusions the why and who of switchers.
I’m happy to see that “Joy in Development” was a key adoption factor for 92% of the people interviewed.
Rails to Italy is gathering the Italian Rails community in Pisa from October 26th through 27th. They’re open for registration and are still looking for speakers. The price to participate is €89 for registrations done before August 1st.
Zilia Iskoujina is a PhD student from the UK who’s doing research on Knowledge management and innovation in virtual organisations. As part of that, a questionaire for people working in open source has been created. If you have 15 minutes, consider filling it out.
A million yen ($8,300) is the first price for a new application competition called Award on Rails that starts tomorrow. The competition is sponsored by DRECOM and will run from July 2nd until September 25th. While the show is based in Japan, they’ll be accepting entries from all over the world. Read all about the rules and the sponsors or sign up to participate. Good luck!
I am such a chicken. I very much wanted the next release of Capistrano to be the official “Capistrano 2.0” release. But as I watched the changelog grow, I started to get cold feet.
Thus, tonight I announce the fourth (and final, hopefully!) preview release of Capistrano 2.0. As before, you can grab it from the Rails beta gems server:
gem install -s http://gems.rubyonrails.com capistrano
(What is Capistrano, you ask? Allow me to direct your attention to http://www.capify.org…)
The following items are just some of the changes new in preview #4:
- The deploy:symlink task works correctly now when run by itself.
- Synchronously instantiate the gateway to prevent it being instantiated multiple times.
- Use “which” instead of "test -p to test whether a command exists on the path.
- The :hosts and :roles keys can now accept lambdas, to lazily select which hosts or roles a task uses.
- Versions of Net::SSH prior to 1.1.0 work with Capistrano again.
- Variable accesses are now thread safe.
- The deployment code is now locale-independent, so that the revision is parsed correctly even if your computer is using a non-English locale.
- You can now pass :on_error => :continue when defining a task, so that any connection or command errors that occur during the task’s execution will be ignored, allowing the task (and subsequent tasks) to continue.
You can see the entire list of changes in the CHANGELOG.
So, give it a go. Try it out. Post your feedback to the Capistrano mailing list. I’d love to release cap2 final next week!
P.S. If you are on a Windows machine, and you get Zlib errors trying to install the Capistrano gem, try this. Find the rubygems/package.rb file (wherever it happens to be in your Ruby installation), open it up, and find the zipped_stream method. Then, replace it, wholesale, with the following:
def zipped_stream(entry) entry.read(10) # skip the gzip header zis = Zlib::Inflate.new(-Zlib::MAX_WBITS) is = StringIO.new(zis.inflate(entry.read)) ensure zis.finish if zis end
That seems to do the trick for me; let me know if it doesn’t work for you.