RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in