From string to sing: How ChatGPT can write your rails' Active Record code - DEV Community
10-Mar-2023 734
Let's face it, fellow Rails devs: a lot of what we do is just basic CRUD. We spend most of our days translating user requests into queries that hit our database. And let's be honest, we're not animals - we're not writing raw SQL. No, we dress that baby up with shiny Active Record calls to make it look pretty. But what if I told you there's an even better way to do this? Yes, my friends, we're talking about using the power of LLM (that's large language models, for those not in the know) to easily take our user queries and turn them into Active Record calls. And today, we're going to look at three different methods for doing just that.
From string to sing: How ChatGPT can write your rails' Active Record code - DEV Community #ruby #rubydeveloper #rubyonrails #string #sing: #ChatGPT #write #rails' #Active #Record #Community #active #code #dev #record https://rubyonrails.ba/link/from-string-to-sing-how-chatgpt-can-write-your-rails-active-record-code-dev-community