search for: krahe

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

Did you mean: krah
2006 Mar 07
7
m:n or multiple 1:n?
I have a Newbee question: i have three tables and want to connect them. so is it stupid to make a triple m:n (rails style xs_ys_zs) or do i have to make a new table (newtable) where i got multiple 1:n? the habtm (has and belongs to many) do only work proper to join two tables, or i am wrong? -jens -- Posted via http://www.ruby-forum.com/.
2006 Mar 02
1
Forms with and without Models and Error Handling
Hi, I currently programming a delicious clone to understand ruby on rails. The problem I''ve got is that I prefill a form (form without models) without a database connection and then save it into the database. For validation i am using the validation helper methods. My Problem is that i don''t know how I get the error hash from the helper method validates... etc. because I
2006 Jan 17
1
Referer
Hello forum, i currently try to learn ruby on rails. my first little project will be a link blog. i try to get the referer variable - but i don''t know to get it. def index @url = request.env["?"] render :text => "The domain from which you come from is #{@url}" end Or do I should use the Net::HTTP? -jens -- Posted via http://www.ruby-forum.com/.