Skip to content

Instantly share code, notes, and snippets.

@atz
Last active October 20, 2016 22:45
Show Gist options
  • Save atz/8a840283e63a0fec811a62e96c44464a to your computer and use it in GitHub Desktop.
Save atz/8a840283e63a0fec811a62e96c44464a to your computer and use it in GitHub Desktop.
deprecation warning
/Users/atz/.rvm/gems/ruby-2.3.1/gems/factory_girl-4.7.0/lib/factory_girl/linter.rb:12:in `lint!': The following factories are invalid: (FactoryGirl::InvalidFactoryError)
* uploaded_resource - DEPRECATION WARNING: Blacklight::Document#empty? is deprecated; use obj.to_h.empty? instead. (called from method_missing at /Users/atz/.rvm/gems/ruby-2.3.1/gems/activemodel-4.2.7.1/lib/active_model/attribute_methods.rb:430) (RuntimeError)
from /Users/atz/.rvm/gems/ruby-2.3.1/gems/factory_girl-4.7.0/lib/factory_girl.rb:67:in `lint'
from /Users/atz/repos/portfolios/spec/rails_helper.rb:56:in `block (2 levels) in <top (required)>'
from /Users/atz/.rvm/gems/ruby-2.3.1/gems/rspec-core-3.5.2/lib/rspec/core/example.rb:443:in `instance_exec'
from /Users/atz/.rvm/gems/ruby-2.3.1/gems/rspec-core-3.5.2/lib/rspec/core/example.rb:443:in `instance_exec'
from /Users/atz/.rvm/gems/ruby-2.3.1/gems/rspec-core-3.5.2/lib/rspec/core/hooks.rb:350:in `run'
from /Users/atz/.rvm/gems/ruby-2.3.1/gems/rspec-core-3.5.2/lib/rspec/core/configuration.rb:1879:in `block in run_hooks_with'
from /Users/atz/.rvm/gems/ruby-2.3.1/gems/rspec-core-3.5.2/lib/rspec/core/configuration.rb:1879:in `each'
from /Users/atz/.rvm/gems/ruby-2.3.1/gems/rspec-core-3.5.2/lib/rspec/core/configuration.rb:1879:in `run_hooks_with'
from /Users/atz/.rvm/gems/ruby-2.3.1/gems/rspec-core-3.5.2/lib/rspec/core/configuration.rb:1835:in `with_suite_hooks'
from /Users/atz/.rvm/gems/ruby-2.3.1/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:112:in `block in run_specs'
from /Users/atz/.rvm/gems/ruby-2.3.1/gems/rspec-core-3.5.2/lib/rspec/core/reporter.rb:77:in `report'
from /Users/atz/.rvm/gems/ruby-2.3.1/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:111:in `run_specs'
from /Users/atz/.rvm/gems/ruby-2.3.1/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:87:in `run'
from /Users/atz/.rvm/gems/ruby-2.3.1/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:71:in `run'
from /Users/atz/.rvm/gems/ruby-2.3.1/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:45:in `invoke'
from /Users/atz/.rvm/gems/ruby-2.3.1/gems/rspec-core-3.5.2/exe/rspec:4:in `<main>'
DEPRECATION WARNING: Blacklight::Document#empty? is deprecated; use obj.to_h.empty? instead. (called from method_missing at /Users/atz/.rvm/gems/ruby-2.3.1/gems/activemodel-4.2.7.1/lib/active_model/attribute_methods.rb:430) (1 times); e.g.:
/Users/atz/.rvm/gems/ruby-2.3.1/gems/activemodel-4.2.7.1/lib/active_model/attribute_methods.rb:430:in `method_missing'
/Users/atz/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/core_ext/object/blank.rb:17:in `blank?'
/Users/atz/.rvm/gems/ruby-2.3.1/gems/activemodel-4.2.7.1/lib/active_model/validations/presence.rb:7:in `validate_each'
/Users/atz/.rvm/gems/ruby-2.3.1/gems/activemodel-4.2.7.1/lib/active_model/validator.rb:151:in `block in validate'
/Users/atz/.rvm/gems/ruby-2.3.1/gems/activemodel-4.2.7.1/lib/active_model/validator.rb:148:in `each'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment