Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autoload classes on start to have TAB autocompletion #80

Open
BartlomiejSkwira opened this issue Feb 23, 2016 · 0 comments
Open

Autoload classes on start to have TAB autocompletion #80

BartlomiejSkwira opened this issue Feb 23, 2016 · 0 comments

Comments

@BartlomiejSkwira
Copy link

When I launch rails console (which defaults to pry) at start there is no class tab autocompletion, for example (assuming that I have a model named User):

rails c
=> pry(main)> U[TAB] //nothing, but when I launch show-model
=> pry(main)> show-model //this loads all classes including models
=> pry(main)> U[TAB] 
=> pry(main)> User

Is there a way to autoload classes the way show-model does?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant