Panasonic Youth rob sanheim writes about software, business, ruby, music, stuff and things



Posts from January 2008

multi_rails 0.0.5 released

multi_rails version 0.0.5 has been released!

http://multi-rails.rubyforge.org/

MultiRails
MultiRails lets you test your Rails plugin or app against many versions of Rails in one sweep.
DESCRIPTION:
MultiRails allows easy testing against multiple versions of Rails for your Rails specific gem or plugin. It also has tentative support testing Rails applications against multiple versions of Rails.
Use MultiRails to hook in […]


Why I use test/spec over rspec

…the worst thing that can happen to a code base is size. — Steve Yegge

Project
LOC

RSpec
15581

test/spec
1512

bacon
477

(Lines of code counted with sloccount, adding up only results from the lib and test (or spec) directories for each of the latest gems.)


Om nom nom nom

Mila a week ago, shortly after getting her second tooth…


untitled

The power of the Executive to cast a man into prison
without formulating any charge known to the law, and
particularly to deny him the judgment of his peers,
is in the highest degree odious and is the foundation
of all totalitarian government whether Nazi or Communist.
- Winston Churchill, November 21, 1943

Except as provided in section 1005 of the […]


Rails observers make rake db:migrate crash from version 0

Rails observers are typically defined like this in environment.rb:

Rails::Initializer.run do |config|
  config.action_controller.session_store = :active_record_store
  config.active_record.observers = :user_observer
end

I recently hit an issue where a fresh db:migrate of an app with a standard observer blew out every time. After some digging into the trace, I saw it was due to rake loading environment.rb, which fires up [...]


How I Spent My Christmas Vacation

I recently got back from a very relaxing two weeks in Wisconsin, for a very white Christmas and some good family time. Nothing quite like a little red wine, music, and coding by the fire:

No big resolutions for the new year, maybe some small personal goals I'll be working on. I'd like to [...]