Sha256: c34fcb2e400487ee266737b53dfb381495950174903164b37177a4fa6b0690a0
Contents?: true
Size: 440 Bytes
Versions: 195
Compression:
Stored size: 440 Bytes
Contents
require 'social_stream/migrations/base' module SocialStream module Migrations class Components < Base def initialize @component = find_migration "social_stream-#{ self.class.name.split('::').last.underscore }" end def up(options = {}) ActiveRecord::Migrator.migrate @component end def down(options = {}) ActiveRecord::Migrator.migrate @component, 0 end end end end
Version data entries
195 entries across 195 versions & 4 rubygems