Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
class ActiveRecord::Base def self.unsafe_create!(attrs) o = new o.unsafe_attributes = attrs o.create! end def unsafe_attributes=(attrs) attrs.each do |(k,v)| send("#{k}=", v) end end end
This paste will be private.
From the Design Piracy series on my blog: