how to generate goldberg

Hi Narayana,

You can find detailed instructions here:

If you still have problems please leave a message on the Goldberg forums at and I'll get back to you as soon as possible.

Good luck!

Regards, Urbanus

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

Hi Koloa,

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

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

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,


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 Azizadah wrote: