Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 5, 2009
  1. @manuelmeurer
Commits on Sep 25, 2009
  1. Adding test case to prove 1c873e0

    authored
Commits on Jul 25, 2009
  1. @alistairholt
Commits on Jul 3, 2009
  1. Using .underscore instead of .downcase on model class names. We want …

    authored
    …user_session_foo, not usersession_foo.
Commits on May 3, 2009
  1. Simplifying the form builder implementation to make it easier on the …

    authored
    …eye. Also making tag attribute altering adapters (such as validatious) work again, woot!
  2. Not running .callback_has_visible_attributes? on validation adapters …

    authored
    …that alters tag attributes. We need to know about all the validations before rendering the form for these types of adapters, because the form itself gets altered.
Commits on May 1, 2009
  1. Renaming LiveValidations::Adapter to LiveValidations::AdapterBase. It…

    authored
    … just makes more sense that way.
  2. Renaming and cleaning up a few things. No real changes.

    authored
    * Renaming the internal `perform_validations` method to `run_validations`.
    * Cleaning up the attribute hook code in the form builder.
    * Improved the error message when passing a invalid form builder object to <% form_for(the_object, :live_validations => true) %>
Commits on Mar 20, 2009
  1. Added some kind of odd support for i18n interpolation in the custom :…

    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. Allowing passing symbols to form_fors with live_validations => true. …

    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. Testing giving the form builder an invalid object, and raising a more…

    authored
    … sensible error message when it occurs.
  3. The plugin doesn't blow up when the model has validations callback wi…

    authored
    …thout attributes (e.g. `validate` with a block).
Commits on Mar 18, 2009
  1. Changed the test testing attributes with validations but no form fiel…

    authored
    …ds to make more sense. Using an actual attribute in the validation, instead of a random one, etc.
  2. Making the error messages more sensible. Instead of rescuing all erro…

    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.
  3. Improving the test suite by not using a vendored rails app in test/, …

    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.
  4. Now only adding validations for visible form fields.

    authored
    Breaks validatious, but that adapter is vastly incomplete anyways.
Commits on Mar 11, 2009
Commits on Mar 9, 2009
  1. Adding some basic options. It's now possible to set what the livevali…

    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. You can now use strings and/or symbols to specify which adapter to us…

    authored
    …e, e.g. LiveValidations.use :jquery_validations.
Commits on Feb 28, 2009
  1. Oh, right, we actually use the actual message on the livevalidation.c…

    authored
    …om adapter now, not just the I18n symbol.
  2. Adding a shitload of validators to the livevalidation.com plugin. Onl…

    authored
    …y missing uniqueness now.
  3. Bringing the validatious adapter and the controller output back to li…

    authored
    …fe. The 'tag_attributes' key is now officially a magic key.
  4. A big backend refactor. Making the adapter base more generic, and the…

    authored
    … individual adapters more specific. The generic adapter should know very little about how the adapter treats the data.
    
    Validatious is currently very borked.
Commits on Feb 27, 2009
  1. Adding a very basic livevalidation.com adapter. It supports presence …

    authored
    …and format, and it works, yay!
  2. Extracting the format-regex-to-js-regex functionality to the validato…

    authored
    …r, so that all adapters can use that functionality.
Something went wrong with that request. Please try again.