Displaying 4 results from an estimated 4 matches for "riccinursery".
2006 Jan 17
5
NOOB: Numeric only input...can it be done on client?
I was wondering if there''s a way to limit what a user is typing on the
keyboard to only valid numeric input. Is there a simple plugin or something
which would allow this? I guess with AJAX it could also be one. Has anyone
already solved this requirement? Thanks in advance.
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jan 18
5
NOOB Ajax question: handling form input
Hi,
I was trying to modify how a standard edit form works so I could use Ajax to
truncate a zip code field which became too long as the user is entering the
value. The form was generated by the generate scaffold script. The form is
filled with default data taken from the current record. I coded the
following changes to a field in the _form.rhtml file:
<%= text_field
2006 Jan 12
0
Independent SQL connections...race condition?
I would like to be able to manage different db connections per request. I''ve
gotten this working by using establish_connection in a before_filter on all
controllers. My concern is whether or not there could be a race condition
where two or more overlapping requests might reset the SQL connection. Is
there any serialization logic which will prevent this? Must I introduce this
logic
2006 Jan 16
1
Handling unexpected db exceptions...
Is there any general way, other than putting in "rescue" catch sections, to
capture exceptions thrown when an unexpected exception is thrown?
Thanks in advance,
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060116/6c2f4bb9/attachment.html