Toots for matheusrich@mastodon.social account

Written by Matheus Richard on 2024-09-19 at 19:30

Pretty cool library to make JS annotation in your app

https://roughnotation.com/

=> More informations about this toot | View the thread

Written by Matheus Richard on 2024-09-09 at 15:08

Here's the PR: https://github.com/rails/rails/pull/51674

=> More informations about this toot | View the thread

Written by Matheus Richard on 2024-09-09 at 15:07

Rails recently merged a new API to deal with params. Instead of the common pattern params.require(:user).permit(:name, :age) now we should write params.expect(user: [:name, :age]).

This is not only shorter but also better deals with param tampering. For example, the following /path?user=string would break with require+permit but not with expect.

[#]ruby

=> View attached media

=> More informations about this toot | View the thread

Written by Matheus Richard on 2024-09-06 at 17:12

TIL about https://github.com/rubymem/bundler-leak

[#]ruby

=> More informations about this toot | View the thread

Written by Matheus Richard on 2024-09-03 at 20:54

If you haven't tried, check https://picocss.com/. It is handy to make that boring Rails scaffold prettier instantly!

=> More informations about this toot | View the thread

Written by Matheus Richard on 2024-08-31 at 03:29

Now that X is blocked in Brazil, I'm even more grateful for the Short Ruby Newsletter!

https://newsletter.shortruby.com/

=> More informations about this toot | View the thread

=> This profile with reblog | Go to matheusrich@mastodon.social account

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/111937598454476609
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
262.957675 milliseconds
Gemini-to-HTML Time
1.106887 milliseconds

This content has been proxied by September (3851b).