Displaying 2 results from an estimated 2 matches for "ebow".
Did you mean:
bow
2007 May 25
1
form_remote_tag :condition
I am using the following validation prototype-based js library:
http://tetlaw.id.au/view/javascript/really-easy-field-validation
What I am trying to do is upon submitting a form via AJAX, I want it
to meet the conditions of the validation of the function validateMe()
If it passes, go ahead and continue and push the form information via
an AJAX call. This is what I have:
<% form_remote_tag
2007 Aug 14
1
find_by_sql vs connection.select_all
I was trying to do SUM based mySQL query simliar to the following:
SELECT SUM(updated_on - created_on) AS total from signups
If I were to run this command in the mySQL console I would get a
result. However, if I were to run it using the following command in
Rails:
Signup.find_by_sql("SELECT SUM(updated_on - created_on) AS total from
signups")
The query that is written to the log is: