# Re-usable UI patterns

**URL:** <https://www.ruby-forum.com/t/re-usable-ui-patterns/141355>\
**Category:** Rails\
**Created:** [June 24, 2008, 10:56pm UTC](https://www.ruby-forum.com/t/re-usable-ui-patterns/141355 "2008-06-24T22:56:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidstokar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/4da419/32.png) [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Post date:** [June 24, 2008, 10:56pm UTC](https://www.ruby-forum.com/t/re-usable-ui-patterns/141355/1 "2008-06-24T22:56:23Z")

</div>

I’m a newbie and I was wondering whether there are repositories of  
views and controllers targeted to specific designs. For example, I’d  
like to dynamically add forms in a view, e.g., to allow the user to  
enter an unknown number of purchase records.

Is there such a Rails repository somewhere?

TIA,  
David

p.s. I’m working in Rails 2.0.2.

---

<div class="post-metadata">

**Author:** ![davidstokar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/4da419/32.png) [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Post date:** [June 24, 2008, 11:32pm UTC](https://www.ruby-forum.com/t/re-usable-ui-patterns/141355/2 "2008-06-24T23:32:07Z")

</div>

Check out Ryan B.’ Railscasts on complex forms:

> **[\#73 Complex Forms Part 1 - RailsCasts](http://railscasts.com/episodes/73-complex-forms-part-1)**
>
> Short Ruby on Rails screencasts containing tips, tricks and tutorials. Great for both novice and experienced web developers.

> **[\#74 Complex Forms Part 2 - RailsCasts](http://railscasts.com/episodes/74-complex-forms-part-2)**
>
> Short Ruby on Rails screencasts containing tips, tricks and tutorials. Great for both novice and experienced web developers.

> **[\#75 Complex Forms Part 3 - RailsCasts](http://railscasts.com/episodes/75-complex-forms-part-3)**
>
> Short Ruby on Rails screencasts containing tips, tricks and tutorials. Great for both novice and experienced web developers.

HTH

SH
