Skip to content

Commit

Permalink
Merge pull request #1736 from ThisIsMissEm/feat/improve-developer-exp…
Browse files Browse the repository at this point in the history
…erience

Improve developer experience
  • Loading branch information
nbulaj authored Oct 3, 2024
2 parents e7f88ae + b4bd680 commit ce8536a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,8 @@ gem "sqlite3", "~> 1.4", platform: [:ruby, :mswin, :mingw, :x64_mingw]

gem "tzinfo-data", platforms: %i[mingw mswin x64_mingw]
gem "timecop"

gem 'irb', '~> 1.8'

# Interactive Debugging tools
gem 'debug', '~> 1.8'
10 changes: 2 additions & 8 deletions bin/console
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,10 @@
require "bundler/setup"
require "rails/all"
require "active_support/all"
require "irb"
require "debug"
require "doorkeeper"

# You can add fixtures and/or initialization code here to make experimenting
# with your gem easier. You can also use a different console, if you like.

# (If you use this, don't forget to add pry to your Gemfile!)
# require "pry"
# Pry.start

Rails.logger = Logger.new(STDOUT)

Rails.logger.info("Doorkeeper version: #{Doorkeeper::VERSION::STRING}")
Expand All @@ -32,5 +27,4 @@ ActiveRecord::Base.establish_connection(
# Load database schema
load File.expand_path("../spec/dummy/db/schema.rb", __dir__)

require "irb"
IRB.start(__FILE__)
2 changes: 1 addition & 1 deletion spec/dummy/config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
config.action_controller.perform_caching = false

# Raise exceptions instead of rendering exception templates
config.action_dispatch.show_exceptions = false
config.action_dispatch.show_exceptions = :none

# Disable request forgery protection in test environment
config.action_controller.allow_forgery_protection = false
Expand Down

0 comments on commit ce8536a

Please sign in to comment.