kellerapps
kellerapps
Solved it: Assignment instead of call. Thx again. clientSideValidations.callbacks.form.fail = function(form, eventData) { alert('Please read the red messages.'); $(".field_with_errors").focus(); };
I'm experiencing this too.
Thx for the update. If you think I can help, I'm willing. May I have your email address? -Ken On Fri, Jan 20, 2012 at 12:07 AM, Brian Cardarella <...
gem "client_side_validations-mongoid", :git => " https://github.com/dockyard/client_side_validations-mongoid.git" ActionView::Template::Error (couldn't find file 'rails.validations' I did not re-run rails g client_side_validations:install Is this necessary? On Sun, Jan 22, 2012 at 3:47 AM, Brian...
Nevermind--I see I need to retain: gem client_side_validations On Sun, Jan 22, 2012 at 9:12 AM, ken keller [email protected] wrote: > gem "client_side_validations-mongoid", :git => " > https://github.com/dockyard/client_side_validations-mongoid.git" > >...
Works! BTW, my background is at www.kellerapps.com I'm looking for a great Rails engr to join me in my new startup. -Ken On Sun, Jan 22, 2012 at 9:16 AM,...
I'm running: gem 'client_side_validations', '~> 3.2.0.beta.1' gem 'client_side_validations-mongoid', '~> 2.4.0.beta.2' Also I noticed https://github.com/bcardarella/client_side_validations/wiki/Callbacks asserts one can write: clientSideValidations.callbacks... but one must capitalize C as in: ClientSideValidations.callbacks... Also, did you...
Pretty-please implement :remote=>true -- I want to implement modal dialogs/forms. -Ken On Thu, Jan 26, 2012 at 12:22 AM, Brian Cardarella [email protected] wrote: > The changes have not been packaged...
If the gem can provide a function which injects an errors hash, programmers can call it in an ajax:success handler. On Thu, Jan 26, 2012 at 12:36 AM, Brian Cardarella...
I'm using these gems to get the i18n patch: ``` ruby gem 'client_side_validations', '~> 3.2.0.beta.1' gem 'client_side_validations-mongoid', '~> 2.4.0.beta.2' ``` mongoid model: ``` ruby validates :subject, :inclusion => {:in =>...