ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Rolling with Ruby on Rails
Subject:   don`t understand action="../update/.."
Date:   2006-10-04 05:11:51
From:   rudyOnTheTrain
hi,
first i`m really new with rubyonrails, so here`s my question.
normaly ror maps the url http://localhost/recipe/list to the folder structur. so i have a folder recipe and a folder list. but in the form tag the action part maps to a folder update"
<form action="../update/<%= @recipe.id %>"

. i can`t find a folder update, so i don`t understand how this part works. can anybody give me a hint?
thx in advance

1 to 1 of 1
1 to 1 of 1