Time ago in words -- how to use in controller or model?

I have failed many times in figuring a way to make this work in my
controller and/or model. Obviously works great in a view, but I was
hoping to make use of it in other areas, not just the view.

Thanks,

Jeremy

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs