Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Syntax error in closing tag #753

Merged
merged 1 commit into from

2 participants

@Signum

No description provided.

@jeremyevans
Owner

Thanks for the patch!

@jeremyevans jeremyevans merged commit 1a21d91 into from
@Signum

Thank you for Sequel. This is the first time since SQLAlchemy that I love working with ORMs again. :)

@Signum Signum deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 10, 2014
  1. @Signum

    Syntax error in closing tag

    Signum authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  doc/validations.rdoc
View
2  doc/validations.rdoc
@@ -245,7 +245,7 @@ These methods check that the specified attributes can be valid integers or valid
=== +validates_schema_types+
-+validates_schema_types+ uses the database metadata for the model's table to determine which ruby type(s) should be used for the given database type, and calls +validates_type+ with that ruby type. It's designed to be used with the <tt>raise_on_typecast_failure = false</tt> setting (the default starting in Sequel 4). <tt>raise_on_typecast_failure = false</tt, Sequel attempts to typecast values, but silently ignores any errors raised:
++validates_schema_types+ uses the database metadata for the model's table to determine which ruby type(s) should be used for the given database type, and calls +validates_type+ with that ruby type. It's designed to be used with the <tt>raise_on_typecast_failure = false</tt> setting (the default starting in Sequel 4). <tt>raise_on_typecast_failure = false</tt>, Sequel attempts to typecast values, but silently ignores any errors raised:
Album.raise_on_typecast_failure = false
album = Album.new
Something went wrong with that request. Please try again.