Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Apr 28, 2009
  1. Removes old submodule for Rails

    authored
  2. ValidationHook#message_for accepts optional options hash for I18N str…

    authored
    …ing {{interpolation}} purposes. Currently limited to livevalidation.com adapter, specifically length validations.
  3. @augustl
  4. @augustl
  5. @augustl
Commits on Apr 21, 2009
  1. @augustl

    The concat call is wrapped in silence_warnings. This will silence the…

    augustl authored
    … deprecation warning caused by passing block.binding to concat.
    
    It is deprecated in 2.3 (and possibly 2.2), but in order to preserve backwards compatibility, I'll leave it as it is until it breaks stuff.
  2. @augustl

    We should not add custom validations to the messages stack. The messa…

    augustl authored
    …ge is already baked in to the custom validation. Closes #1
Commits on Mar 20, 2009
  1. @augustl

    Added some kind of odd support for i18n interpolation in the custom :…

    augustl authored
    …message messages for the live validations. E.g. :message => "but srsly, {{model}}" will be translated and used as "but srsly, Post" in the live validations.
Commits on Mar 19, 2009
  1. @augustl

    Allowing passing symbols to form_fors with live_validations => true. …

    augustl authored
    …It will look for an instance variable matching the symbol, or raise an error if no instance variable is found, or if the symbol isn't an active record instance.
  2. @augustl

    Testing giving the form builder an invalid object, and raising a more…

    augustl authored
    … sensible error message when it occurs.
  3. @augustl

    The plugin doesn't blow up when the model has validations callback wi…

    augustl authored
    …thout attributes (e.g. `validate` with a block).
Commits on Mar 18, 2009
  1. @augustl

    Changed the test testing attributes with validations but no form fiel…

    augustl authored
    …ds to make more sense. Using an actual attribute in the validation, instead of a random one, etc.
  2. @augustl
  3. @augustl
  4. @augustl

    Making the error messages more sensible. Instead of rescuing all erro…

    augustl authored
    …rs, the error that was raised is passed on. Also improved InlineTemplate so that syntax errors in the viewstring passed to 'render' provides a sensible error message.
  5. @augustl

    Improving the test suite by not using a vendored rails app in test/, …

    augustl authored
    …but mocking it all out instead. This is done because it is convenient to be able to pass the view to render in the test as a string, compared to creating a bunch of views in the vendored rails application.
  6. @augustl
  7. @augustl

    Now only adding validations for visible form fields.

    augustl authored
    Breaks validatious, but that adapter is vastly incomplete anyways.
  8. @augustl

    Whoops, also passing on the options to the form_for call when :live_v…

    augustl authored
    …alidations hasn't been set.
Commits on Mar 17, 2009
  1. @augustl
Commits on Mar 11, 2009
  1. @augustl

    Up to snuff with Ruby 1.9.1. ActionView::Base.field_helpers returns s…

    augustl authored
    …ymbols on 1.9 and strings on 1.8, for some reason.
  2. @augustl
  3. @augustl
  4. @augustl
Commits on Mar 9, 2009
  1. @augustl

    Adding some basic options. It's now possible to set what the livevali…

    augustl authored
    …dation.com adapter should display when a field is validated with the :default_valid_message option, so that you can get rid of that silly default "Thankyou!".
  2. @augustl

    Explicitly calling .inspect on the regex so that we get the proper fo…

    augustl authored
    …rmat. We don't want Regex#to_s.
  3. @augustl

    Injecting the form builder code into the built-in formbuilder instead…

    augustl authored
    … of creating a separate one. This is so that custom form builders that subclasses the built-in one are able to use live validations.
  4. @augustl

    You can now use strings and/or symbols to specify which adapter to us…

    augustl authored
    …e, e.g. LiveValidations.use :jquery_validations.
Commits on Feb 28, 2009
  1. @augustl

    README typo.

    augustl authored
  2. @augustl

    Oh, right, we actually use the actual message on the livevalidation.c…

    augustl authored
    …om adapter now, not just the I18n symbol.
  3. @augustl
  4. @augustl

    Adding a shitload of validators to the livevalidation.com plugin. Onl…

    augustl authored
    …y missing uniqueness now.
  5. @augustl
Something went wrong with that request. Please try again.