1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/lib/action_view
Ryuta Kamizono 528b62e386 Address to false negative for Performance/DeletePrefix,DeleteSuffix
Follow up to c07dff7227.

Actually it is not the cop's fault, but we mistakenly use `^`, `$`, and
`\Z` in much places, the cop doesn't correct those conservatively.

I've checked all those usage and replaced all safe ones.
2020-06-14 13:04:47 +09:00
..
helpers Address to false negative for Performance/DeletePrefix,DeleteSuffix 2020-06-14 13:04:47 +09:00
locale
renderer Prefer no allocation start/end_with? over String#[] == 2020-05-29 10:20:13 +09:00
tasks
template Lazily build path regex in PathParser 2020-05-31 15:28:24 -05:00
testing Simplify FixtureResolver to reuse filtering logic 2020-02-24 16:22:58 -08:00
base.rb Remove redundant @virtual_path variable 2020-05-26 15:53:11 -04:00
buffers.rb
cache_expiry.rb Reduce allocations in action_view cache expiry 2020-05-22 18:38:56 -04:00
context.rb Remove redundant @virtual_path variable 2020-05-26 15:53:11 -04:00
dependency_tracker.rb Prefer no allocation start/end_with? over String#[] == 2020-05-29 10:20:13 +09:00
digestor.rb Skip interpolated strings in AV::Digestor 2020-05-17 15:06:17 -07:00
flows.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
gem_version.rb
helpers.rb
layouts.rb Avoid extra string allocation in the methods generated by eval 2020-03-10 17:43:35 +09:00
log_subscriber.rb add additional instrumentation block for ActionView layout rendering 2020-05-01 19:15:54 -07:00
lookup_context.rb Merge pull request #37928 from CGA1123/fix-race-in-action-view 2019-12-12 22:47:30 +01:00
model_naming.rb
path_set.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
railtie.rb Unify raise_on_missing_translations for views and controllers 2020-05-20 02:42:59 +03:00
record_identifier.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
rendering.rb update from PR #36222 2020-02-12 13:31:43 -05:00
routing_url_for.rb
template.rb Address to false negative for Performance/DeletePrefix,DeleteSuffix 2020-06-14 13:04:47 +09:00
test_case.rb Fix helper_method in ActionView::TestCase to allow keyword arguments 2020-02-28 04:46:05 +09:00
unbound_template.rb Fix Class#new + keyword arguments warnings 2019-09-09 02:35:59 +09:00
version.rb
view_paths.rb Stop reopening ClassMethods and merge definitions 2019-08-19 00:35:23 +09:00