Why is link_image_to deprecated in 1.2?

I see from the trac that link_image_to is marked as deprecated in 1.2.
Anybody know why?

Personally, I’d much rather write link_image_to than
link_to(image_tag(…)), and it seems quite un-Rails-like to remove this
kind of convenient helper method. So maybe there’s an underlying reason
that I don’t understand?


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