May 2008
5 posts
Tip: re-apply latest migration
rake db:migrate:redo
my twitter →
Productivity: Nice background noise generator →
Creates really pleasant pink noise. For Mac.
Google AdSense made no sense for me. Turned it off
2 tags
Rails tip if you use association proxy methods
I like doing following in my code:
class Blah < ActiveRecord::Base
has_many :somethings
end
class Something < ActiveRecord::Base
def self.for(person)
find(:first, :conditions => {:owner_name => person})
end
end
# And then later
@the_blah.somethings.for("dima") # => #<Something ....>
But I also can accidentally do this and break the expectation for the code,...
April 2008
2 posts
Coworking: Social club or work space? →
I started working at Indy Hall almost two weeks ago. Indy Hall is a coworking space in Old City, Philadelphia where people who would normally work at home can now work in an office with…