ChatGPT from your Rails console
https://github.com/railsjazz/ask_chatgpt - do you want to ask ChatGPT for help directly from the Rails console? Examples:
gpt.ask(“how to get max age of user with projects from Ukraine”).with_model(User, Project, Country)
gpt.ask(“convert json to xml”)
gpt.refactor(“User.get_report”)
gpt.improve(“User.get_report”)
gpt.rspec_test(User)
gpt.unit_test(User)
gpt.code_review(User.method(:get_report))
gpt.find_bug(‘User.full_name’)
Post a comment