search for: goldshuv

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

2006 Jan 23
16
Adding form fields (extending a form) on the fly
Hello, I just can''t seem to find a way to extend a form dynamically in ROR. Say I am writing a recipe website. There is one form to enter the recipe. There is room for N number of ingredients (let''s say a text field for each ingredient name and selection list for the amount). What if the user wants to add more than N ingredients as he types them in? how do I do this without
2006 Jun 02
5
scriptaculous autocompletion LIMIT and ajax vs. local
Hi, I am using scriptaculous ajax autocompletion (not local autocompletion). I have 2 questions: 1 - The database query being sent to the server always has LIMIT 10. I don''t want to have a limit, but I just can''t for the life of me find where this limit is set in the code. I did see "choices: 10" in controls.js but that''s for autocompleter.Local, which I
2006 May 30
1
handling specific database exceptions
Hi, When an exception comes from rails, it has a name, i.e: "AssociationTypeMismatch", so I can catch it like this: rescue ActiveRecord::AssociationTypeMismatch => e ... ... However, how can I catch and handle specific exceptions that come from the database. "rescue Exception => e" is not good enough. I want to be able to deal with them individually. for
2007 Jan 31
1
help please!
Hi, I''ll appreciate insight on this one... it''s causing me some pain on my production env. <%= link_to "something", :controller => "somecontroller", :action => ''someaction'', :id => someid, :favorite => is_a_favorite %> I added a boolean :favorite to the URL arguments. THis has always worked well under my dev