Rinas Blogs
Home
Articles
Pages
Home
Articles
Pages
Home
/
Articles
/
TIL in rails: `Time.current.all_month` to get the whole range
TIL in rails: `Time.current.all_month` to get the whole range
Published on February 06, 2024
Here is the docs for the same:
`Time.current.all_month` to get the whole range in Rails
https://api.rubyonrails.org/classes/DateAndTime/Calculations.html#method-i-all_month