stayce


Member since 08/18/2009

8 snippets

1683 profile views

2 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

stayce's Recent Snippets



« Prev 1 Next »
0 528 posted 13 years ago by stayce
If you accidentally exit while doing an interactive rebase, you can clean it with this command.
0 590 posted 13 years ago by stayce
validate :price_must_be_at_least_a_cent protected def price_must_be_at_least_a_cent errors.add(:price, 'should be at least 0.01') if price.nil? || price < 0.01 end
0 525 posted 13 years ago by stayce
0 514 posted 13 years ago by stayce
« Prev 1 Next »