Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing translations #134

Closed
tfausak opened this issue Feb 10, 2014 · 1 comment
Closed

Missing translations #134

tfausak opened this issue Feb 10, 2014 · 1 comment
Assignees
Labels

Comments

@tfausak
Copy link
Collaborator

tfausak commented Feb 10, 2014

# Gemfile
source 'https://rubygems.org'
gem 'active_interaction', '1.0.2'
# example.rb
require 'active_interaction'
I18n.enforce_available_locales = true
class Example < ActiveInteraction::Base
  boolean :a
end.run!
$ bundle exec ruby example.rb
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
/usr/local/lib/ruby/gems/2.1.0/gems/active_interaction-1.0.2/lib/active_interaction/concerns/runnable.rb:113:in `run!': A translation missing: en.active_interaction.errors.models.example.attributes.a.missing (ActiveInteraction::InvalidInteractionError)
    from /usr/local/lib/ruby/gems/2.1.0/gems/active_interaction-1.0.2/lib/active_interaction/concerns/runnable.rb:143:in `run!'
    from example.rb:5:in `<main>'
@tfausak tfausak added the bug label Feb 10, 2014
@tfausak
Copy link
Collaborator Author

tfausak commented Feb 10, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant