The behaviour of the do-end block with respect to the render method and the 
template_path/template_name keys in the method argument list is by design.  
These two keys are intentionally discarded by the render method.

However, it there also appears to be a problem when passing the 
template_path/template_name keys in the method argument list without using 
a block.  In this case the key values also appear to be ignored.  Finally, 
setting the default template_path in the class also seems to fail.  I have 
opened two github issues for these:

https://github.com/rails/rails/issues/22045
https://github.com/rails/rails/issues/22047

But if anyone can point out some error I am committing that is causing 
these problems then please let me know.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/4fc2d567-6ac4-4314-b604-a95294672a84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to