ar_mailer version 1.3.1 has been released!
Eric Hodel | Wed, 01 Aug 2007 04:52:18 GMT
Even delivering email to the local machine may take too long when you have to send hundreds of messages. ar_mailer allows you to store messages into the database for later delivery by a separate process, ar_sendmail.
Changes:
- 1.3.1
- Fix bug #12530, gmail causes SSL errors. Submitted by Kyle Maxwell and Alex Ostleitner.
- Try ActionMailer::Base::server_settings then ::smtp_settings. Fixes bug #12516. Submitted by Alex Ostleitner.
memcache-client version 1.4.0 has been released!
Eric Hodel | Tue, 31 Jul 2007 04:17:10 GMT
memcache-client is a client for Danga Interactive’s memcached.
1.4.0 Changes:
- Fix bug #10371, #set does not check response for server errors. Submitted by Ben VandenBos.
- Fix bug #12450, set TCP_NODELAY socket option. Patch by Chris McGrath.
- Fix bug #10704, missing #add method. Patch by Jamie Macey.
- Fix bug #10371, handle socket EOF in cache_get. Submitted by Ben VandenBos.
Sphincter version 1.0.0 has been released!
Eric Hodel | Mon, 30 Jul 2007 22:12:18 GMT
http://seattlerb.org/Sphincter
Sphincter uses Dmytro Shteflyuk’s sphinx Ruby API and automatic configuration to make totally rad ActiveRecord searching. Well, you still have to tell Sphincter what models you want to search. It doesn’t read your mind.
Features:
- Automatically configures itself.
- Handy set of rake tasks for easy, automatic management.
- Automatically adds has_many metadata for searching across the association.
- Stub for testing without connecting to searchd, Sphincter::SearchStub.
- Easy pagination support.
- Filtering by index metadata and ranges, including dates.
Problems:
See README.txt for quick-start, examples, etc.
Changes:
1.0.0 / 2007-07-26
- 1 major enhancement
- Birthday!
New Blog Design
Eric Hodel | Sun, 29 Jul 2007 04:02:43 GMT
I got this awesome new design from Jordan Isip, fellow Seattle Ruby Brigade member in exchange for some help on his DailyCaption project. Any lack of awesome is purely my incompetence at applying it.
Incidentally, Jordan is thinking about looking for some work. He’s primarily interested in front-end/UI work, but is a good RoR programmer as well, and a quick learner. Check out LunchFilter for an example of his work.
Inliners are Hard to Debug
Eric Hodel | Sun, 01 Jul 2007 08:40:00 GMT
So I wrote SuperCaller
require 'rubygems'
require 'super_caller'
require 'super_caller/exception'
class X
def y; z; end
def z; raise; end
end
begin
X.new.y
rescue => e
e.backtrace .each do |frame|
puts frame
puts frame.source || frame.sexp.inspect
puts "---"
end
end
Gives:
/usr/local/lib/ruby/gems/1.8/gems/SuperCaller-1.0.0/lib/super_caller/exception.rb:12:in `initialize' def initialize(message) old_initialize(message) @backtrace = super_caller end --- test.rb:7:in `new' [[:vcall, :raise]] --- test.rb:7:in `z' [[:vcall, :raise]] --- test.rb:6:in `y' def y z end --- test.rb:11 [[:call, [:call, [:const, :X], :new], :y]] ---
Coming Soon

Articles