Removing old API functionality from actionpack text helpers

19 views
Skip to first unread message

iHiD

unread,
May 16, 2012, 4:31:25 PM5/16/12
to rubyonra...@googlegroups.com
I was just reading through some of the actionpack text helpers and noticed that a lot of them have messages, such as:

# You can still use <tt>word_wrap</tt> with the old API that accepts the
# +line_width+ as its optional second parameter:
#   word_wrap('Once upon a time', 8)     # => Once upon\na time

As other methods (such as truncate) have now had this old API functionality removed, would this be a good time to set a depreciation warning on 3-2-stable and remove the old functionality from master?

If so, I'm happy to do it.

Thanks,
Jeremy

Rafael Mendonça França

unread,
May 16, 2012, 9:57:52 PM5/16/12
to rubyonra...@googlegroups.com
Please do it.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-core/-/t-pm4DyW_AMJ.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-co...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.

Reply all
Reply to author
Forward
0 new messages