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

Issues #7

Open
Awatatah opened this issue May 10, 2017 · 1 comment
Open

Issues #7

Awatatah opened this issue May 10, 2017 · 1 comment

Comments

@Awatatah
Copy link

Awatatah commented May 10, 2017

I am getting 2 errors:

when running MongoidShortener.generate("http://google.com")
Error returned:

ArgumentError: The provided regular expression is using multiline anchors (^ or $), which may present a security risk. Did you mean to use \A and \z, or forgot to add the :multiline => true option?

When running shortened_url("http://google.com")
Error Returned:

NoMethodError: undefined method `shortened_url' for main:Object

Rails 5.0.2
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin16]

@siong1987
Copy link
Owner

@Awatatah i don't longer maintain this project :(

it might be a better idea for you to look at other alternatives or send a PR to me.

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