search for: hippolime

Displaying 4 results from an estimated 4 matches for "hippolime".

2006 May 14
2
Initialize, instance variable....wrong number of arguments!
Dear RoR Community My new RoR experience went really smooth for some time until I got stuck with a seemingly easy problem and the more I have tried to read about it (PickAxe, Agile WD, forum, etc.) the more confused I got! What I have done so far as a newbie is to use the scaffold and then build my own ideas around it. What I am trying to do now is allow/disallow an action in the input form
2006 Apr 29
11
Multiple actions from one form - possible?
Hello * Obviously the rhtml below does not work, but it should be apparent what I try to achieve - I would like to give the user the choice to submit a form either to action1 or action2 but I cannot figure out how?! It would be great if someone could give some assistance. Thanks a lot, Alex <%= start_form_tag :action1 => ''save'', :action2 =>
2006 May 04
1
Problem with case / when conditional of db values
Hello *, I have been trying to perform conditional actions in the controller depending on values in the db - in this case, the object ''info'' and the column ''status''. I would just like the controller to run an action depending on the value in the column, in this case ''OPEN'' or ''SENT'': 1. def infoupdate 2. case
2006 Apr 27
1
Simple question - several submit_tags for multiple actions
Hello Started with Rails just a couple days ago and got stuck in two ways - I like it (and would like to learn more) and cannot really figure out how to use the submit_tag within the form_tag to initiate alternative actions depending on which submit was chosen. One submit should function exactly like the edit/update action from the initial scaffold while the other should do the same plus