Use a route helper in a model (Rails 3)


With Rails 3 is is possible to use a route helper in a model? eg

After a comment creation, I want to post it to Twitter from a model
after_create callback and I want to include the article URL in the

Thanks :slight_smile:

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