Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3 4 5 6 7
module Flippable def flipper_id return nil if new_record? "#{self.class.name}:#{id}" end end