README.rdoc in simple_model_translations-0.2.0 vs README.rdoc in simple_model_translations-0.2.1

- old
+ new

@@ -65,9 +65,17 @@ Category.create!(:translations_attributes => [ { :locale => :en, :name => 'Science' }, { :locale => :ru, :name => 'Наука' } ]) +== Fetching records with selected translations + +If you want (and you probably do want) to fetch only records with specified translation, you can do it now: + + Article.with_translation(:ru) + +This code returns an ActiveRecord::Relation object, so you can chain your query furthermore. + == Note on Patches/Pull Requests * Fork the project. * Make your feature addition or bug fix. * Add tests for it. This is important so I don't break it in a