title: rails - how to check if user has been a member for a month
body: <p>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?</p>
  
  <p>thanks</p>
  
  <p>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...</p>
  
  <pre><code>user.created_at - 1.month.ago &gt; 0
  </code></pre>
  
  <p>could i not do this subtraction comparison? or does that not make sense? thanks</p>