Different ways how to do Rails validations
Ruby on Rails has a decent way how to ensure that invalid params won’t end up in DB. Problem with Rails Validators is however that they are bound to a class rather than Instance object. In article http://www.eq8.eu/blogs/22-different-ways-how-to-do-rails-validations we will have a look on few workarounds.
Post a comment