Closed alonsogarciapablo closed 11 years ago
I'm sorry to see you're having an issue. I'm not quire sure what would be causing that problem. As you can see here: https://github.com/bcardarella/client_side_validations/blob/3-2-stable/coffeescript/rails.validations.coffee#L13-L27 there is only one place that the enableClientSideValidations
function is called. Perhaps the $
is being redefined somewhere?
Even though it is more work for you the easiest (and quickest) way for me to diagnose this problem is if you can share some code with me that reproduces the issue.
@bcardarella thanks for your response. I am still investigating the issue. I will keep you posted.
Hey! Closing the issue as I finally solved the problem. It turns out that I still had the older version of rails.validations.js
under vendor/assets/javascripts
:astonished:. So I just removed the file and now enableClientSideValidations
is finally defined.
Thanks for your help!
Hello,
First of all... thanks for this gem! I have been using it for a while for this form and everything was working perfectly. Yesterday I decided to update the app to:
My model validations are:
The form template is similar to:
And this is the resulting HTML and script tag.
It was working :+1:, but after the update I ran into some issues :pensive:. I have a multi-step form and it stopped working. I am following the recommendations posted in the Wiki, but Chrome and Firefox complain that:
I have the following in
app/assets/javascripts/application.js
:Any idea of why might be causing this issue? Thanks!