blog.segment7 — mechanize version 2.1.1 has been released! mechanize.rubyforge.org github.com/tenderlove/mechanize/tree/master The Mechanize library is used for automating interaction with websites. Mechanize automatically stores and sends cookies, follows redirects, can follow links, and submit forms. Form fields can be populated and submitted. Mechanize also keeps track of the sites that you have visited as a history. 2.1.1 / 2010-02-03 Bug...
blog.segment7 — docs.seattlerb.org/net-http-persistent github.com/drbrain/net-http-persistent Manages persistent connections using Net::HTTP plus a speed fix for Ruby 1.8. It’s thread-safe too! Using persistent HTTP connections can dramatically increase the speed of HTTP. Creating a new HTTP connection for every request involves an extra TCP round-trip and causes TCP congestion avoidance negotiation to start over. Net::HTTP supports persistent connections with some API methods...
blog.segment7 — net-http-persistent version 2.4 has been released! docs.seattlerb.org/net-http-persistent github.com/drbrain/net-http-persistent Manages persistent connections using Net::HTTP plus a speed fix for Ruby 1.8. It’s thread-safe too! Using persistent HTTP connections can dramatically increase the speed of HTTP. Creating a new HTTP connection for every request involves an extra TCP round-trip and causes TCP congestion avoidance negotiation to start over. Net::HTTP supports persistent...
weblog.rubyonrails — Rails 3.2.1 is out, with some fixes and doc improvements. Please check the CHANGELOGs gist for details.
weblog.rubyonrails — So we didn’t quite make the December release date as we intended, but hey, why break a good tradition and start hitting release targets now! In any case, your patience has been worldly rewarded young grasshopper: Rails 3.2 is done, baked, tested, and ready to roll! I’ve been running on 3-2-stable...
blog.segment7 — If your library uses X509 cryptography, naturally your tests will need a key and valid certificate to test against. Creating a key and certificate frequently can quickly drain your entropy pool which slows down your tests. Instead of creating the key for every test startup you can create it once...
blog.segment7 — test/test_helper.rb is a great idea Rails brought to the Ruby world as a place for functionality that helps you write better tests. There's now a standard place for you to implement common setup/teardown, shortcuts and custom assertions. However, a test helper is not the best place to store...
blog.zenspider — Makefiles have a construct called .PHONY. You declare your task a non-filesystem based task like so: .PHONY: mytask and then make knows that it shouldn't force your task to run just because "mytask" doesn't exist in the filesystem. Rake doesn't bother with such nonsense. It doesn't assume that all tasks map to the...
weblog.rubyonrails — Hi everyone, Rails 3.2.0.rc2 has been released. Update your Gemfile to depend on sass-rails ~> 3.2.3 IMPORTANT Support for Rails 2.3-style plugins (vendor/plugins!) will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb CHANGES since RC1 ActionMailer No changes ActionPack Add font_path...