faker icon indicating copy to clipboard operation
faker copied to clipboard

undefined method `name_with_middle' for Faker::Name:Class

Open isaiev opened this issue 10 years ago • 1 comments

I have error with name_with_middle method. As I see the code from PR 419 not currently used. Maybe code was removed, but this method left in README?

2.2.2 :001 > require 'faker'
 => true 
2.2.2 :002 > Faker::Name.name_with_middle
NoMethodError: undefined method `name_with_middle' for Faker::Name:Class
    from /home/tabatab/.rvm/gems/ruby-2.2.2/gems/faker-1.6.3/lib/faker.rb:164:in `method_missing'
    from (irb):2
    from /home/tabatab/.rvm/rubies/ruby-2.2.2/bin/irb:11:in `<main>'

isaiev avatar Jun 16 '16 11:06 isaiev

Installed gem from github source, now everything ok.

isaiev avatar Jun 16 '16 12:06 isaiev