-
Notifications
You must be signed in to change notification settings - Fork 899
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
Need to add ActiveSupport as dependency #1042
Comments
Hi Ng. Sorry, I don't understand your setup. The I'm checking out your repo now .. |
We need to add some |
I'm running into |
I think to use the |
Ng, Please try
and let me know if that works for you. Thanks. |
@jaredbeck Yes that solves the issue. |
Fixed by #1043 expected release 9.0.0 Thanks Ng. |
#ruby version 2.4.3
active_record version ( 5.1.4 )
paper_trail version (8.1.2)
I'm working on an application not based on rails but I am using active record. I noticed that when I open irb and require 'paper_trail', I am getting the following error
We are using
squish
method that is defined in active_support:https://github.com/rails/rails/blob/cfb1e4dfd8813d3d5c75a15a750b3c53eebdea65/activesupport/lib/active_support/core_ext/string/filters.rb#L21
Therefore we should add
active_support
to dependency so that we don't run into this error.Steps to reproduce the error:
Clone this repo:
https://github.com/theRealNG/paper_trail_active_support_dependency
irb
terminalrequire "paper_trail"
and you will get thatsquish
is not defined.The text was updated successfully, but these errors were encountered: