Hey, I'm Dima Sabanin and I love programming.
I work on Beanstalk for Wildbit.
Creates really pleasant pink noise. For Mac.
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, since I don’t have full conditions specified in the Something.for method:
Something.for("dima")
class Something < ActiveRecord::Base
def self.for(person)
raise unless scoped?(:find)
find(:first, :conditions => {:owner_name => person})
end
endI 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…
This week we released a RubyGem for Viddler’s Video API. We created it for our Beanstalk help system so we could upload video in each post, then pull back the player code to embed screen casts….
If you haven’t noticed, Beanstalk has been growing. With the growth we’ve also had some pains. In the last couple months our servers have been far from what we (or anyone else) would consider…
I logged into my ING account and noticed a different welcome screen. They made an update to the navigation and instead of just making the change, I was notified upon login. This says a lot to me,…
We are running contests on two sites, giving away multiple paid Beanstalk accounts for one year. If you like Beanstalk and want a free paid plan for a year, check out these sites.
If you use Subversion to manage your projects you probably have noticed hidden .svn folders in your checked out projects. A Subversion client creates them to store any information about the…