Pinned post

Greetings Fedizens! I'm a guy who has been dabbling with for a while. I didn't know this instance existed until today so I made an alt here to talk shop with Ruby folks since I don't follow too many Rubyists (but am looking to!) on my main

swagg boi boosted

I was returning array of arrays from my queries but now I return array of hashes so that way I can specify the elements by their column names in the table. Then I used the AS thing in SQL to rename said columns to something that made more sense for readability in the template. I think SQL is finally starting to feel like 😏 to me rather than 😩

swagg boi boosted

I was about to post something daft like 'I think once I get comfortable with SQL I won't even use an ORM anymore!' but then I remembered I haven't even attempted a JOIN like this so nvm, I'm not even going to post this post.

I got a pool full of data
If I drown, don't save me

omg ok Google

paste.lgts.xyz/?4fe3c32ab107f5

You don't get superuser for your safety but oh btw any and all accounts you create we're gunna default to a special snowflake superuser group that is essentially superuser but with a different name so none of the documentation you have will make any sense LOL

Show thread

Anyone happen to know why I'd be able to connect to a given database as a given user (and even drop tables) despite doing REVOKE ALL _and_ REVOKE CONNECT for this user?

Revoking: paste.lgts.xyz/?f0cd1f10b47c8c

No workie: paste.lgts.xyz/?8439049048d918

Thinkin about my tables…

Thread
Reply
Moderator

🤔

There will be joins!

swagg boi boosted

Welp, they ported Mojolicious to JS, folks:

https://mojojs.org/

Guess the original will languish and I'll actually really have to learn a new thing this time (instead of just saying that I am lol)

swagg boi boosted

Greetings Fedizens! I'm a guy who has been dabbling with for a while. I didn't know this instance existed until today so I made an alt here to talk shop with Ruby folks since I don't follow too many Rubyists (but am looking to!) on my main

Ruby.social

A Mastodon instance for Rubyists & friends