# How to generate goldberg

**URL:** <https://www.ruby-forum.com/t/how-to-generate-goldberg/67732>\
**Category:** Rails\
**Created:** [September 6, 2006, 1:03pm UTC](https://www.ruby-forum.com/t/how-to-generate-goldberg/67732 "2006-09-06T13:03:36Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![narayana](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f6c823/32.png) [@narayana](https://www.ruby-forum.com/u/narayana)\
**Post date:** [September 6, 2006, 1:03pm UTC](https://www.ruby-forum.com/t/how-to-generate-goldberg/67732/1 "2006-09-06T13:03:36Z")

</div>

hi  
I just download the goldberg generators.  
i want to know how to generate goldberg bcoz itz not a gem file  
itz a goldberg folder having some templates in it.  
plz explain step by step  
thx in advance

regards  
narayana

---

<div class="post-metadata">

**Author:** ![narayana](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f6c823/32.png) [@narayana](https://www.ruby-forum.com/u/narayana)\
**Post date:** [September 6, 2006, 3:21pm UTC](https://www.ruby-forum.com/t/how-to-generate-goldberg/67732/2 "2006-09-06T15:21:59Z")

</div>

Hi Narayana,

You can find detailed instructions here:

[http://goldberg.240gl.org/installation](http://goldberg.240gl.org/installation)

If you still have problems please leave a message on the Goldberg  
forums at [RubyForge.org](http://RubyForge.org) and I’ll get back to you as soon as possible.

[http://rubyforge.org/projects/goldberg](http://rubyforge.org/projects/goldberg)

Good luck!

Regards,  
Urbanus

---

<div class="post-metadata">

**Author:** ![narayana](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f6c823/32.png) [@narayana](https://www.ruby-forum.com/u/narayana)\
**Post date:** [September 6, 2006, 4:37pm UTC](https://www.ruby-forum.com/t/how-to-generate-goldberg/67732/3 "2006-09-06T16:37:53Z")

</div>

Hi,

I was a little bit confused with the installation as well. There was no  
.rails/generators folder in my home directory. Just create an empty  
folder, untar the goldberg tarball and run ruby script/generate goldberg  
in your rails-application directory.

Regards  
Lars

P.S.: This is indeed a very nice tool, I am planning to extend it for my  
next project rather than creating the login/admin stuff from scratch.  
Thanks for the good work!

---

<div class="post-metadata">

**Author:** ![narayana](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f6c823/32.png) [@narayana](https://www.ruby-forum.com/u/narayana)\
**Post date:** [September 7, 2006, 12:07am UTC](https://www.ruby-forum.com/t/how-to-generate-goldberg/67732/4 "2006-09-07T00:07:14Z")

</div>

Hi Lars,

> I was a little bit confused with the installation as well. There was no  
> .rails/generators folder in my home directory. Just create an empty  
> folder, untar the goldberg tarball and run ruby script/generate goldberg  
> in your rails-application directory.

In due course I plan to make Goldberg available as a gem, which should  
make that part of the setup easier.

> P.S.: This is indeed a very nice tool, I am planning to extend it for my  
> next project rather than creating the login/admin stuff from scratch.  
> Thanks for the good work!

Thanks for the feedback. If you find ways in which Goldberg could be  
fixed or improved I’m open to suggestions. Code contributions are  
welcome too, if you make any hacks that are worth sharing.

I’m currently working on the next release, which will feature a choice  
of site templates. Also I’ll be replacing the fixed menus on the top  
and side with Suckerfish menus.

Regards,  
Urbanus

---

<div class="post-metadata">

**Author:** ![narayana](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f6c823/32.png) [@narayana](https://www.ruby-forum.com/u/narayana)\
**Post date:** [September 7, 2006, 7:11am UTC](https://www.ruby-forum.com/t/how-to-generate-goldberg/67732/5 "2006-09-07T07:11:49Z")

</div>

Hi Koloa,

Check out the Goldberg web site – it runs on Goldberg itself!

[http://goldberg.240gl.org](http://goldberg.240gl.org)

Goldberg is designed to be quick to get up and running. So the best  
way to explore it is to set up your own local copy and give it a go.  
The Goldberg web site (above) has instructions.

Regards,  
Urbanus

---

<div class="post-metadata">

**Author:** ![narayana](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f6c823/32.png) [@narayana](https://www.ruby-forum.com/u/narayana)\
**Post date:** [September 7, 2006, 7:41am UTC](https://www.ruby-forum.com/t/how-to-generate-goldberg/67732/6 "2006-09-07T07:41:51Z")

</div>

I have a product model and tag model that look like this:

class Product \< ActiveRecord::Base  
has\_and\_belongs\_to\_many :tags  
…

class Tag \< ActiveRecord::Base  
has\_and\_belongs\_to\_many :products  
…

I have a page that shows the details of a product. At the bottom of this  
page, I would like to show a list of other products that share x number  
of tags with this product. How would I find these other products? Can  
the find method be used or will I have to resort to SQL? Thanks.

Best Regards,

Tamim

---

<div class="post-metadata">

**Author:** ![narayana](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f6c823/32.png) [@narayana](https://www.ruby-forum.com/u/narayana)\
**Post date:** [September 9, 2006, 2:25am UTC](https://www.ruby-forum.com/t/how-to-generate-goldberg/67732/7 "2006-09-09T02:25:27Z")

</div>

Anyone? At this point I don’t even know how to approach this, so any  
help in pointing me in the right direction would be greatly appreciated.  
Thanks.

Best Regards,

Tamim

---

<div class="post-metadata">

**Author:** ![narayana](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f6c823/32.png) [@narayana](https://www.ruby-forum.com/u/narayana)\
**Post date:** [September 7, 2006, 3:48am UTC](https://www.ruby-forum.com/t/how-to-generate-goldberg/67732/8 "2006-09-07T03:48:54Z")

</div>

hello, any where else i may see samples of goldberg? it looks real  
promising.
