Adds hstore_translate as an alternative solution
Merge pull request #217 from cfabianski/patch-1

Adds hstore_translate as an alternative solution
TranslatedComment requires Comment
ReloadingPost requires Post
Added support for first_or_create method.

Fixes #211
Closes #216
Complete translate fields only when fields param is not set.

* Testing that if we set the fields to introduce in the translation table we don't create all the fields in the table although they are translated in the model
* Added and tested the method for adding new attributes to the translation table
* Changed add_translation_fields! to be more similar to create_translation_table! and to be able to handle the remove_source_columns and migrate_data options
* Use add_translation_fields in create_translation_table and adapted remove_source_columns and move_data_to_translation_table for use only specific fields on migration.
* Tested that adding a translated field and moving data doesn't overwrite old translated data
* Added tests for remove_source_columns after add_translation_fields.
* Avoiding deprecation warning with remove_column method.

Fixes #98
Fixes #131
Fixes #201
Fixed rubygems warning.
Use custom table name when specified

[Closes #219]
Merge pull request #225 from zjuric/custom_table_name

Use custom table name when specified
Fixed index too long error when connection.index_name_length < Digest::SHA1.hexdigest(index_name)
Merge pull request #227 from zjuric/oracle_index_too_long

Fixed index too long error when index_name_length < Digest::SHA1.hexdigest(index_name)
Demonstrate failure when naming a model Locale per #232
Fix assert
Rename the belongs_to to globalized_model which fixes #232
Fix for parndt removing the locale and name string from mctn_translations test table.
Sort locale in database

* Added constraint for columns :locale && reference_table_id
* Fixes #237
Merge remote-tracking branch 'globalize3/master'

* globalize3/master:
  Sort locale in database
  Fix for parndt removing the locale and name string from mctn_translations test table.
  Rename the belongs_to to globalized_model which fixes #232
  Fix assert
  Demonstrate failure when naming a model Locale per #232
  Fixed index too long error when connection.index_name_length < Digest::SHA1.hexdigest(index_name)
  Use custom table name when specified
  Fixed rubygems warning.
  Complete translate fields only when fields param is not set.
  ReloadingPost requires Post
  TranslatedComment requires Comment
  Adds hstore_translate as an alternative solution

Conflicts:
	lib/globalize/active_record/act_macro.rb
	lib/globalize/active_record/migration.rb
	lib/single_table_globalize3/active_record/class_methods.rb
	readme.md
	test/globalize3/migration_test.rb
	test/globalize3/translation_class_test.rb