Sha256: 6940577cd0623db48dfd724a91ec222737fcf34eb46916c0ef258be71bffaf88
Contents?: true
Size: 439 Bytes
Versions: 26
Compression:
Stored size: 439 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.tableize }") end def up(options = {}) ActiveRecord::Migrator.migrate @component end def down(options = {}) ActiveRecord::Migrator.migrate @component, 0 end end end end
Version data entries
26 entries across 26 versions & 2 rubygems