Faker: Faker::Music.genre raising NotMethodError

Created on 22 May 2018  路  5Comments  路  Source: faker-ruby/faker

I've just installed Faker 1.8.7 and I'm trying to use Faker::Music#genre and it's raising Ruby's NoMethodError. The same occurs on IRB.

Question

Most helpful comment

gem 'faker', git: 'https://github.com/stympy/faker'

All 5 comments

Probably because this method hasn't been released yet. If you really wanna use this method, you should point your gem config to the master branch.

gem 'faker', git: 'https://github.com/stympy/faker'

Makes a lot of sense. Thank you, @vbrazo. :shipit:

Cool.

I think it was made by @jmkoni

Enjoy.

It should be specified then that it is not yet available. The docs say this methods are available since 1.6.4

Was this page helpful?
0 / 5 - 0 ratings

Related issues

neutralino1 picture neutralino1  路  3Comments

huyderman picture huyderman  路  4Comments

gerryhd picture gerryhd  路  3Comments

benpolinsky picture benpolinsky  路  5Comments

tagliala picture tagliala  路  5Comments