RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

automatic rails validations

We need to start using more of what’s available to us, rather than reinventing everything. Automatic Rails validations to match your database schema - https://github.com/seejohnrun/database_validation

Comments

Awesome idea, glad to see that kind of project. Congrats man!

Thanks :)

any way to turn off uniqueness? When your user-base gets large uniqueness has serious scaling issues.

@drhenner - That’s a great addition - I’ll get it in there for ya

@drhenner - How large of a userbase? We hit that issue when we went from 60K users to 700K users (4 second uniqueness check after we merged in another userbase), but a unique index on the column fixed that. In fact, it was faster than the non-indexed check on 60K.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in