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
Carlos Antonio da Silva 3875e07f3c Simplify formmethod checks on button_to for non-GET/POST handling
* Check for the presence of `formmethod` first before checking against
  the GET/POST verbs;
* Use `match?` to avoid creating unnecessary match objects;
* Remove capture groups from the verb regexp.
2021-02-22 10:08:48 -03:00
..
helpers Simplify formmethod checks on button_to for non-GET/POST handling 2021-02-22 10:08:48 -03:00
locale
renderer Fix SELECT COUNT queries when rendering ActiveRecord collections (#40870) 2020-12-18 15:58:11 -05:00
tasks
template Remove deprecated escape_whitelist from ActionView::Template::Handlers::ERB 2020-10-30 00:25:30 +00:00
testing Remove deprecated pattern argument in ActionView::Template::PathResolver 2020-10-30 00:25:13 +00:00
base.rb Revert "Remove redundant @virtual_path variable" 2020-12-30 14:07:09 +01:00
buffers.rb [ci skip] Doc ActionView::OutputBuffer 2018-09-06 15:28:45 -05:00
cache_expiry.rb Reduce allocations in action_view cache expiry 2020-05-22 18:38:56 -04:00
context.rb Revert "Remove redundant @virtual_path variable" 2020-12-30 14:07:09 +01:00
dependency_tracker.rb Prefer no allocation start/end_with? over String#[] == 2020-05-29 10:20:13 +09:00
digestor.rb Save some allocations in ActionView digest 2020-09-19 14:03:05 -04:00
flows.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
gem_version.rb Rails 6.2 is now Rails 7.0 2021-02-04 16:47:16 +00:00
helpers.rb Simply require rather than autoload + immediately load below 2020-11-26 23:27:22 +09:00
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 Remove deprecated rendered_format from ActionView::LookupContext 2020-10-30 00:25:26 +00:00
model_naming.rb
path_set.rb Remove deprecated find_file from ActionView::PathSet 2020-10-30 00:25:27 +00:00
railtie.rb Rails 6.2 is now Rails 7.0 2021-02-04 16:47:16 +00:00
record_identifier.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
rendering.rb Revert "Raise when calling render with invalid options" 2020-10-29 13:49:30 -07:00
routing_url_for.rb URL helper methods are public 2020-10-02 14:20:58 +09:00
template.rb Update Rails version in depraction and add non-deprecated code 2021-02-17 09:41:37 +01:00
test_case.rb Avoid creating helper modules until modified 2020-09-08 16:55:53 -07: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