For the String class, what’s the difference between «#slice» and «#slice!»?
None, «#slice» is just an alias for «#slice!».
There is no «#slice!» method in Ruby on Rails.
«#slice» returns a new object, «#slice!» destructively updates — mutates — the object’s value.