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
--
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 rubyonrails-core@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-core+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en.
Rafael Mendonça França
2012-May-17 01:57 UTC
Re: Removing old API functionality from actionpack text helpers
Please do it. -- Rafael Mendonça França http://twitter.com/rafaelfranca https://github.com/rafaelfranca Sent with Sparrow (http://www.sparrowmailapp.com) On Wednesday, 16 May, 2012 at 17:31, iHiD wrote:> 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 > > -- > 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 rubyonrails-core@googlegroups.com (mailto:rubyonrails-core@googlegroups.com). > To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com (mailto:rubyonrails-core+unsubscribe@googlegroups.com). > For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.