"\"Jochen Kächelin - 8frogs.de\"" <i...@8frogs.de> wrote in post #1022809: > what the recommended way to generate static html files based on a > database structure, for example 1000 product pages. > > i would like to specify s template and embed css styles. > > i use rails 3.1 > > thanx
erb templates are part of the ruby language, as is the ability to query a database. So you can write a ruby program that creates an erb template, and you can query the database to fill in values in the template, and then write the results to a bunch of files. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.