search for: oladywek

Displaying 3 results from an estimated 3 matches for "oladywek".

2006 May 31
7
Getting 22 elements
Hello, I''ve done === class HomeController < ApplicationController def index @country = Country.find(:all, :include => "cities") end end === And rhtml is: === <% @country.each do |country| %> <h1><%= country.name %></h1> <% country.cities.each do |city| %> - <%= link_to city.name, :action =>
2006 May 28
3
Working with topics and categories
Hello guys, I''m a newbie in RoR and I have a problem. My DB structure is ====================================== topics table : id(int,11) name(varchar,255) categories : id (int,11) topic_id(varchar,255) name(varchar,255) ====================================== --Models:-- class Topic < ActiveRecord::Base has_many :categories end class
2006 Jun 29
1
Ruby on Rails, Ruby and CGI
Hello guys, Usually, I write web apps on mod_perl2+Mason, but I get involved on RoR... Can I write Ruby and/or RoR apps without CGI? Thanks. -- Posted via http://www.ruby-forum.com/.