> Thirdly, and this is the bit I don't understand and so hope to learn > more, why are you specifying the controller name in the action and why > the ../ or / on the front?
The ../ or / at the beginning are used for being certain that the url it's created from the root of the application, I found that when using html form tags in rails you need to add this to point to the right direction but apparently it's only needed when the controller is a different from the default controller. When you use that syntax directing the commit to the default controller you get the problem i'm having... So the solution is to write the form in this way if you try to reach an action inside the default controller. <from action="controllerName/action" method...> For any other controller this is correct <form action="/controllerName/action" method...> or <form action="../controllerName/action" method...> Also the controller name is need or you will get something like this www.name.com/action and unless you are aiming to a action in the default controller you will get an error there or in my case if you have multiple RoR applications in the same server. I hope I made myself clear and didn't confuse you -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

