Displaying 1 result from an estimated 1 matches for "_stuff".
Did you mean:
stuff
2007 Jul 16
0
Partials vs. Helpers
...gle action call. For example, I have a
partial which defines how an entry is to be formated in HTML. I have 40
entries on a page, so the partial is rendered 40 times in a single
action.
Not knowing the innerworking of Rails, I have several questions.
1) Within that single action call, is the file _stuff.rhtml read from
the file system just once or 40 times?
2) Does the file _stuff.rhtml gets compiled or cached somewhere? I am
asking this because when I play with DRYML, it seems that its
equivalence of partials get cached somehow.
3) If _stuff.rhtml read from file system 40 times in the action ca...