A Rails partial is a reusable piece of a view. Give its filename an underscore, pass it the data it needs, and render it wherever that piece of UI belongs.
The everyd...
•
10009 reads
You are viewing a list of articles tagged: erb
A Rails partial is a reusable piece of a view. Give its filename an underscore, pass it the data it needs, and render it wherever that piece of UI belongs.
The everyd...
10009 reads