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

Lorem Ipsum always generates the same string #75

Closed
JD-Kaplan opened this issue May 12, 2015 · 2 comments
Closed

Lorem Ipsum always generates the same string #75

JD-Kaplan opened this issue May 12, 2015 · 2 comments

Comments

@JD-Kaplan
Copy link

Seems like it should generate random Lorem Ipsum strings? Can't use it for anything that requires unique text.

@brandonarbini
Copy link
Contributor

Well, that's kind of the idea behind Lorem Ipsum. However, we did think of this case and it will take a :random option as well (https://github.com/sevenwire/forgery/blob/master/lib/forgery/forgery/lorem_ipsum.rb#L101). Did you try that?

@JD-Kaplan
Copy link
Author

Yes, discovered that just a short while ago. I did find that when I generate 100 lines with 8-16 words as the 'n' value, I only get around 94 unique strings. I guess what I need is beyond the scope of this project, which is fine. thank you for your quick response!

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