diff options
author | Yehuda Katz <wycats@gmail.com> | 2009-08-07 05:40:01 -0300 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-08-07 05:40:01 -0300 |
commit | 493d84ce2f1e25081a394fd70ac4e23b6a2be682 (patch) | |
tree | 5116c84591ac3ba074cfba406ca92c58dcf33779 /activerecord/lib/activerecord.rb | |
parent | 59e475e3a66fe647ea74f4daf472d82bc9b4535c (diff) | |
download | rails-493d84ce2f1e25081a394fd70ac4e23b6a2be682.tar.gz rails-493d84ce2f1e25081a394fd70ac4e23b6a2be682.tar.bz2 rails-493d84ce2f1e25081a394fd70ac4e23b6a2be682.zip |
Modify various partial methods to carry along the block that can be passed in with render
* _render_single_template, which renders a template without layout
* _render_partial_unknown_type, which renders a partial of unknown type
(the entry method for most partial rendering; supports strings, objects, and collections)
* _render_partial_object, which renders a partial for a single object.
* extracted _render_partial_path so it can be used to render the spacer without going
through the public render :partial
Diffstat (limited to 'activerecord/lib/activerecord.rb')
0 files changed, 0 insertions, 0 deletions