You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
I am getting 2 errors:
when running
MongoidShortener.generate("http://google.com")
Error returned:
When running
shortened_url("http://google.com")
Error Returned:
Rails 5.0.2
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin16]
The text was updated successfully, but these errors were encountered: