Building your own ActiveRecord validation macros with validates_each

This post has been moved to my new blog, check it out!

This blog is being terminated :)

2 Responses to “Building your own ActiveRecord validation macros with validates_each”

  1. Luis Lavena Says:

    Nice idea.

    For I18n I think you should be using generate_message instead of the activerecord key, so in that way users can define different messages for one field in one model instead of a global one.

    Cheers.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: