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

Faker breaks string interpolation on rails 2.3.x with 1.8.7-p352 #42

Closed
tatyree opened this issue Oct 25, 2011 · 1 comment
Closed

Faker breaks string interpolation on rails 2.3.x with 1.8.7-p352 #42

tatyree opened this issue Oct 25, 2011 · 1 comment

Comments

@tatyree
Copy link

tatyree commented Oct 25, 2011

Will try and push a demo app with test tomorrow if I get time. However, (quick and dirty) steps to reproduce are:

  • setup a new 2.3.x (I'm using 14) bare app with a Gemfile that has only installs gem 'rails' and gem 'faker';
  • bundle install;
  • script/console;
  • at the prompt, type "%{a}" % {:a => 1}

The result will be:

ArgumentError: malformed format string - %{
        from (irb):1:in `%'
        from (irb):1

The various :require => nil and I18n.reload! workarounds suggested in issue 5 do not seem to sort the problem.

@stympy
Copy link
Contributor

stympy commented Jul 3, 2014

Closing since 1.8.7 is EOL

@stympy stympy closed this as completed Jul 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants