1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/test
Adam Hess f80038ae7d Improve did_you_mean partial name correction
Before this change did_you_mean shows partial paths like `animals/_partial`,
but adding that to your render call in a view like `<%= render 'animals/_partial' %>`
 will still be missing as rails will search for the template `animals/__partial`.
We can provide the user a easier copy/paste correction if we don't tell them about the underscore.

This also reduces the candidates to only return partials if you are
looking for a partial and only look for non-templates when you are not
looking for a template.
2021-04-19 15:01:00 -07:00
..
actionpack Merge FileSystemResolver and PathResolver 2021-04-14 11:27:11 -07:00
activerecord Remove FallbackFileSystemResolver 2021-04-06 14:20:48 -07:00
fixtures chore: fix grammar, spelling and minor whitespace fix 2021-04-13 21:35:50 +10:00
lib Include layout when rendering objects from controllers 2020-10-14 11:49:45 -06:00
template Improve did_you_mean partial name correction 2021-04-19 15:01:00 -07:00
ujs chore: fix case of CSS and JavaScript 2021-04-15 21:52:58 +10:00
abstract_unit.rb Update test helper to call parallelize according to fork support 2021-01-25 13:50:41 -06:00
active_record_unit.rb Module#const_set is a public method 2020-09-15 17:19:37 +09:00