Ruby on Rails

Ruby on Rails, Partials, MVC, Plugins, Authentication, Routing

Ruby on Rails Partials

by: Matt Hofstetter | March 9 , 2011 | views: 333

A Ruby on Rails partial can be thought of as a kind of view-function. When a partial is created it is given a name and collection of data, such as an array. The code inside the partial template will then be repeated for each element of that array, and that array element can be accessed by the name… view article