nathanblend

Archive for the ‘Uncategorized’ Category

Moved: http://verni.wordpress.com/

without comments

Written by nathanblend

April 30, 2008 at 8:54 pm

Posted in Uncategorized

merb + jQuery + git + DataMapper + nginx on mod_ruby

without comments

buzzwords

Written by nathanblend

February 5, 2008 at 4:17 am

Posted in Uncategorized

Pixel Perfect HTML

without comments

Heard good things about these guys: http://www.pixelperfecthtml.com

Written by nathanblend

January 30, 2008 at 11:16 pm

Posted in Uncategorized

Installing git on mac osx

without comments

Here’s how to install git on osx from source (or any other *nix system for that matter).


wget http://www.kernel.org/pub/software/scm/git/git-1.5.3.8.tar.gz
tar xzvf  git-1.5.3.8.tar.gz
cd git-1.5.3.8
./configure
sudo make && sudo make install

Test it out by checking out merb-core:


git clone git://github.com/wycats/merb-core.git

Written by nathanblend

January 15, 2008 at 9:19 pm

Posted in Uncategorized

Dreamhost vs. DHH on Rails Shared Hosting

without comments

The Official Dreamhost blog had a post about shared rails hosting that got a quick response from DHH himself. My comment on the Dreamhost blog was ‘flagged as spam’ so I’ll post it here:

One of the great things about Rails and the Ruby development community is that our interests lie outside of just writing code in dreamweaver and ftping it to the server. I’d venture to say that most Rails developers want the kind of control of a server that shared hosting doesn’t offer. Sure, I could pay $5 to Dreamhost to get one site up in running, or I could pay $20 and get a VPS from someone like linode or slicehost and do whatever I want with it, all the while learning valuable unix skills. The whole ‘hosting is a black box mentality’ will just keep developers continually relying on hosting vendors for a crucial aspect of their business.

Written by nathanblend

January 11, 2008 at 4:16 am

Posted in Uncategorized

undefined method `require_gem’

without comments

I kept getting this error when running rake on new rails 2.0.2 app.  Turns out the problem was that I needed to upgrade rake from 0.7.3 to 0.8.1.  Fixed it.

Written by nathanblend

January 11, 2008 at 12:32 am

Posted in Uncategorized

db/migrate/100_…

without comments

A large rails project I’m working on hit the 100th migration milestone today. Despite what some might say, I love migrations. It think it’s really cool (if not 100% necessary) to be able to look back at the roadmap that the database has followed to get to where it is. I’ve never had to rollback a migration, but I can sleep easier knowing that all 100 migrations have valid self.down methods.

Written by nathanblend

January 8, 2008 at 1:22 am

Posted in Uncategorized

jQuery

without comments

The guys at err the blog have written a great post on using jQuery instead of the default prototype. As usual, it’s a high quality read and sure to become a defacto resource for breaking the prototype addiction.

Written by nathanblend

January 7, 2008 at 5:13 pm

Posted in Uncategorized

unix: recursive and case-sensitive grep

without comments

grep -r -i word .

Written by nathanblend

October 17, 2007 at 8:37 pm

Posted in Uncategorized

Lowpro – Hijacking Forms

without comments

Want to hijack a normal form to make it submit via ajax? If you’re using prototype and lowpro:


Event.addBehavior({
'#order_sandwhich_form' : Remote.Form
})

via http://jlaine.net/2007/8/6/from-rails-ajax-helpers-to-low-pro-part-2

Written by nathanblend

October 17, 2007 at 7:37 pm

Posted in Development, Uncategorized

Tagged with , ,