Sha256: d841a2ffc602d3e137195b17c5bab6495d925036e2915507a18d3a3e176af03c

Contents?: true

Size: 179 Bytes

Versions: 6

Compression:

Stored size: 179 Bytes

Contents

module RailsVoter
  class UpdateGenerator < Rails::Generators::Base
    def add_migrations
      rake("rails_voter:install:migrations")
      rake("db:migrate")
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rails_voter-0.2.1 lib/generators/rails_voter/update/update_generator.rb
rails_voter-0.2.0 lib/generators/rails_voter/update/update_generator.rb
rails_voter-0.1.0 lib/generators/rails_voter/update/update_generator.rb
rails_voter-0.0.3 lib/generators/rails_voter/update/update_generator.rb
rails_voter-0.0.2 lib/generators/rails_voter/update/update_generator.rb
rails_voter-0.0.1 lib/generators/rails_voter/update/update_generator.rb