@websebdev @rails Very cool ! I will finally try today the new ror version . One year almost without any ruby , I am very impatient 😜
@websebdev I wouldn't call "between 0 and 10" infinite 🤷♂️
@websebdev Is there a performance difference between this and the raw SQL query? (Post.where('created_at > ?', 1.week.ago)) never seen that method but it looks clean!
@websebdev This makes a lot of sense. I think my go to would normally have been. where('created_at >= ?', 1.week.ago) Which is more of a pain and less versatile. Not to mention when you say this aloud it sounds like the opposite of what it means.
@websebdev Just remember to ignore the file in Brakeman, otherwise you get errors.