aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/arel/math.rb
diff options
context:
space:
mode:
authorPietro Moro <33845712+pietro-moro@users.noreply.github.com>2019-07-26 20:54:57 +0200
committerRafael França <rafael@franca.dev>2019-07-26 14:54:57 -0400
commit0eff6956a55882817f67c8d471d32ed3e4b109ee (patch)
treed690b7e65e14a9e5bb22ac2cb5969c0f01c4722d /activerecord/lib/arel/math.rb
parent7f16fedad32f01664ad82829f244319bc752fcd7 (diff)
downloadrails-0eff6956a55882817f67c8d471d32ed3e4b109ee.tar.gz
rails-0eff6956a55882817f67c8d471d32ed3e4b109ee.tar.bz2
rails-0eff6956a55882817f67c8d471d32ed3e4b109ee.zip
Added a phone_to helper method, on the style of mail_to and sms_to. (#36775)
* Added a phone_to helper method, on the style of mail_to and sms_to. It creates an anchor tag with the href set to tel: *here your number* which, when clicked on a mobile phone, or on a desktop with a supported application, lets the phone app kick in, and it prepopulates it with the phone number specified. [Pietro Moro + Rafael Mendonça França]
Diffstat (limited to 'activerecord/lib/arel/math.rb')
0 files changed, 0 insertions, 0 deletions