Skip to content

Commit

Permalink
Force enable autocomplete on rails consoles
Browse files Browse the repository at this point in the history
  • Loading branch information
dbackeus committed Mar 14, 2024
1 parent b22c030 commit 1b19eb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ def console
application = ARGV.delete_at(0)
abort "Must pass name of application, eg. k console <application>" unless application

system %(#{__dir__}/k run #{application} "EAGER_LOAD=false bin/rails console")
system %(#{__dir__}/k run #{application} "EAGER_LOAD=false IRB_USE_AUTOCOMPLETE=true bin/rails console")
end

def config
Expand Down

0 comments on commit 1b19eb5

Please sign in to comment.