Skip to content

Commit

Permalink
Merge pull request #38 from lunohodov/console
Browse files Browse the repository at this point in the history
Console script for development
  • Loading branch information
lunohodov authored Mar 7, 2024
2 parents 56e6f19 + eba7812 commit 3ad5912
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bin/console
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env ruby

require "irb"
require "bundler/setup"
require_relative "../lib/monarch_migrate"

binding.irb
1 change: 1 addition & 0 deletions lib/monarch_migrate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def self.migrator
end

require "rails"
require "active_record/railtie"
require "monarch_migrate/migration"
require "monarch_migrate/migration_record"
require "monarch_migrate/migrator"
Expand Down

0 comments on commit 3ad5912

Please sign in to comment.