i was wondering how i could check if a user has been a member for over 1 month? i notice that rails created a created_at column. how can i check if the user has been a month old member?
thanks
i looked at doing things like 1.month.ago but wouldn’t that keep changing from the current date? maybe my logic is kinda wrong in that. could i do something like…
user.created_at - 1.month.ago > 0
could i not do this subtraction comparison? or does that not make sense? thanks
How about
or