Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
def monthly_rent_amount_in_dollars=(rent) self.monthly_rent_amount = (rent.to_f * 100).to_i end def monthly_rent_amount_in_dollars self.monthly_rent_amount / 100.0 if self.monthly_rent_amount end
This paste will be private.
From the Design Piracy series on my blog: