README.md in multilang-hstore-1.0.1 vs README.md in multilang-hstore-1.0.2

- old
+ new

@@ -1,9 +1,11 @@ # Multilang-hstore -Multilang is a small translation library for translating database values for Active Support/Rails 4 using the [Hstore datatype](http://www.postgresql.org/docs/9.0/static/hstore.html). +[![Build Status](https://travis-ci.org/bithavoc/multilang-hstore.svg)](https://travis-ci.org/bithavoc/multilang-hstore) +> Multilang is a small translation library for translating database values for Active Support/Rails 4 using the [Hstore datatype](http://www.postgresql.org/docs/9.0/static/hstore.html). + This project is a fork of [artworklv/multilang](https://github.com/artworklv/multilang) with some remarkable differences: * Replaced YAML text fields in favor of Hstore fields. * The translation hash is no longer limited to locales in `I18n.available_locales`. * Support for Rails 3 and Rails 4. @@ -113,10 +115,12 @@ ## Validations Multilang has some validation features: multilang :title, :length => 100 #define maximal length validator - multilang :title, :required => true #define requirement validator + multilang :title, :required => true #define requirement validator for all available_locales + multilang :title, :required => 1 #define requirement validator for 1 locale + multilang :title, :required => [:en, :es] #define requirement validator for specific locales multilang :title, :format => /regexp/ #define validates_format_of validator ## Tests Test runs using a temporary database in your local PostgreSQL server: