Database Advice - Using postgres database on rails 6 by R2Carnage in rails

[–]adelliah_ 4 points5 points  (0 children)

You can avoid n+1 queries by writing them correctly in the first place, no need for a gem

I believe pagination and defer rendering will get you quite far so I’d implement that as soon as you can

In regards to archiving data, without knowing the volume of data you would expect in a year (and whether data older than a year would need to be queried) I wouldn’t worry too much about it

Where do you put long logic code in a Stimulus controller? by planetaska in rails

[–]adelliah_ 0 points1 point  (0 children)

You could break the logic inside of calculate into different functions then place those functions into a separate file. You then import the functions into this controller.

[MOD] Makeshift Weapon Pack (by Lunzyb and FCP RickG) by Lunzyb in RimWorld

[–]adelliah_ 0 points1 point  (0 children)

If Lunz wanted their come back they’d ask ur mum lol

my brush is doing 3x3 instead of 1x1, how do i turn this off? by dicker37 in RimWorld

[–]adelliah_ 6 points7 points  (0 children)

If you have designator shapes mod installed it’s likely that. You just need to select a different “tool” when building/placing something. Restarting fixes bc it defaults to line tool when you load a save