Mediumexposure - mediumexposure.com - Hakunin's Writing

Latest News:

script/migrator for navigating migrations 4 Feb 2010 | 04:02 pm

I got tired of digging through migrations, so here’s a simple console navigator. The instructions are all in there.

Rails 3 Reading Material 21 Jan 2010 | 11:25 pm

Rails 3 is going to bring a lot of new stuff to the table. Wouldn’t hurt to organize some reading material in categorized and chronological order. So here goes whatever I scavenged so far. Leave comme...

Multiple Table Inheritance with ActiveRecord 21 Jan 2010 | 05:01 pm

Update 02/02/10: There are two new sections: Fixing method_missing and Handling attributes hash, which fix a few issues that popped up since first post. If you aren’t interested in reading all the de...

Testing Helpers That Use Scoped Translations 3 Nov 2009 | 10:00 am

Update: While this technique is useful when you actually need to bind a template to your helper test, most of the time you can simply stub the helper right there, using something like stub(self).t('.t...

Off Github 29 Oct 2009 | 03:36 am

Right about now everyone is switching away from GitHub gem host. It’s crappy enough that you have to edit environments in your config files — you also have to reinstall the big pile of gems on your ma...

Drier gem configs 28 Oct 2009 | 09:32 am

Update: This article is obsolete. Gemcutter should take first place in your gem sources. This way there is no reason to use :source option at all. Now is the worst time for duplication in gem configs...

My Tools of the Trade 12 Oct 2009 | 02:00 pm

I used to be somewhat settled, living my stationary life in a Brooklyn apartment. Circumstances have changed in 2009, when I started to spend a lot of time on the go. This was the point at which all o...

Rake script for managing Rails plugins with Git submodules 13 Sep 2009 | 06:47 am

Problem with gitmodules and rails plugins Submodules aren’t very easy. You have to know a few things before messing with them. When installing you have to follow a bunch of steps in order to get them...

Getting Rails 2.3.3 and Mocha >=0.9.6 to play nice with Test::Unit and Shoulda 3 Aug 2009 | 02:59 am

Simultaneous changes in Rails 2.3.3 and Mocha >=0.9.6 have caused some headaches in test::unit (or shoulda) tests. In my case I saw anomalies such as expectations persisting across tests. You put expe...

Avoiding nested blocks 16 Jul 2009 | 05:48 pm

Today I had to silence some output streams so that messages don’t pollute the STDOUT. I used the silence_stream method built into Rails, described well in this article. silence_stream(STDOUT) do ...

Related Keywords:

rails 3, php token, drupal tag cloud, fallout 3 hacking, fallout terminal solver, php algorithm, fallout 3 terminal, rails inverse_of, sinatra thin, fallout 3 hack tool

Recently parsed news:

Recent searches: