top | item 43372005 (no title) deedubaya | 11 months ago Looks useful.Allowing ai to eval() code or execute any sql statement would scare the crap outta me personally. discuss order hn newest xcskier56|11 months ago From searching the codebase, I can only find eval() used in the markdown and the specs.You’re totally right that eval()’ing unknown code is terrible but it doesn’t look like the gem itself is doing that.The usage of eval() is in a user written tool in the docs. Definitely a bd example and should probably be changed deedubaya|11 months ago Yes, that’s exactly what I was referring to. Folks (or llms!) never copy/paste doc examples, right?
xcskier56|11 months ago From searching the codebase, I can only find eval() used in the markdown and the specs.You’re totally right that eval()’ing unknown code is terrible but it doesn’t look like the gem itself is doing that.The usage of eval() is in a user written tool in the docs. Definitely a bd example and should probably be changed deedubaya|11 months ago Yes, that’s exactly what I was referring to. Folks (or llms!) never copy/paste doc examples, right?
deedubaya|11 months ago Yes, that’s exactly what I was referring to. Folks (or llms!) never copy/paste doc examples, right?
xcskier56|11 months ago
You’re totally right that eval()’ing unknown code is terrible but it doesn’t look like the gem itself is doing that.
The usage of eval() is in a user written tool in the docs. Definitely a bd example and should probably be changed
deedubaya|11 months ago