Closed bryszard closed 7 years ago
Pretty sure this is fixed in Rails 5.1.0.beta https://github.com/rails/rails/commit/0189f4db6fe518de8909b66b7f30046bac52dedc
Ok, @darrenterhune thanks for news.
@darrenterhune There is a problem with calling parameterize in the #slug
in /lib/livingstyleguide/markdown_extensions.rb
, but changing it doesn't seem to solve the problem:
@hagenburger is there a specific reason to require active supports string inflections here? Other than readability? Wondering if we could simply switch this out, which would have backwards compatibility and not raise deprecation warnings?
def slug(text)
text.downcase.gsub(/[ _\.\-!\?\(\)\[\]]+/, "-").gsub(/^-|-$/, "")
end
Hello, we're using Rails 5 and lsg 2.0.1. We use lsg from few days and we get deprecation warnings when rendering views:
The only place in our gems when
get_binding
is called / defined (apart from ActiveRecord) is lsg:Thanks for adjusting that in advance!