railsmonk RSS

Hey, I'm Dima Sabanin and I love programming and I've been doing this since I was 10 years old. For the last 5 years I work with Rails.

I study Zen, I have a family with a small kid. This is my brain dump.

Email: sdmitry@gmail.com




Recommend Me

Archive

Jun
5th
Thu
permalink

“We cannot direct the wind, but we can adjust the sails.”

Jun
4th
Wed
permalink

My attempt at ActiveRecord models code guidelines: http://tinyurl.com/6yqwel

permalink
Code style guidelines for ActiveRecord models. I’ve been using this for last couple years, it’s proven to improve code readability.

Complete pastie with code here.

Code style guidelines for ActiveRecord models. I’ve been using this for last couple years, it’s proven to improve code readability.

Complete pastie with code here.

Jun
3rd
Tue
permalink

Setting cookies in RSpec

def cookie(name, value)
  @request.cookies[name.to_s] = CGI::Cookie.new(name.to_s, value.to_s)
end
Found on google.

permalink
A plugin to make a Leopard-style sidebar for Textmate instead of a stupid drawer. Looks awesome!

A plugin to make a Leopard-style sidebar for Textmate instead of a stupid drawer. Looks awesome!

permalink

MagLev could be our chance to do some Smalltalk without learning Squeak. YAY!

May
21st
Wed
permalink

Tip: re-apply latest migration

rake db:migrate:redo

May
20th
Tue
permalink
permalink
permalink

Google AdSense made no sense for me. Turned it off