Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

RAILS 4 - Mass Assignment Security Error while executing etl #141

Open
victorvprem opened this issue Mar 19, 2014 · 0 comments
Open

RAILS 4 - Mass Assignment Security Error while executing etl #141

victorvprem opened this issue Mar 19, 2014 · 0 comments

Comments

@victorvprem
Copy link

Hi,
I am using rails 4, and i installed activewarehouse-etl gem, when i tried to run the etl commands it shows the following error

Starting ETL process
initializing ETL engine

/home/victor/.rvm/gems/ruby-2.1.0/gems/activemodel-4.0.2/lib/active_model/deprecated_mass_assignment_security.rb:14:in attr_accessible':attr_accessibleis extracted out of Rails into a gem. Please use new recommended protection model for params(strong_parameters) or addprotected_attributesto your Gemfile to use old one. (RuntimeError) from /home/victor/.rvm/gems/ruby-2.1.0/gems/activewarehouse-etl-1.0.0/lib/etl/execution/batch.rb:8:inclass:Batch'
from /home/victor/.rvm/gems/ruby-2.1.0/gems/activewarehouse-etl-1.0.0/lib/etl/execution/batch.rb:4:in <module:Execution>' from /home/victor/.rvm/gems/ruby-2.1.0/gems/activewarehouse-etl-1.0.0/lib/etl/execution/batch.rb:2:inmodule:ETL'
from /home/victor/.rvm/gems/ruby-2.1.0/gems/activewarehouse-etl-1.0.0/lib/etl/execution/batch.rb:1:in <top (required)>' from /home/victor/.rvm/gems/ruby-2.1.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:inrequire'
from /home/victor/.rvm/gems/ruby-2.1.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in block in require' from /home/victor/.rvm/gems/ruby-2.1.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:214:inload_dependency'
from /home/victor/.rvm/gems/ruby-2.1.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in require' from /home/victor/.rvm/gems/ruby-2.1.0/gems/activewarehouse-etl-1.0.0/lib/etl/execution.rb:17:in<top (required)>'
from /home/victor/.rvm/gems/ruby-2.1.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in require' from /home/victor/.rvm/gems/ruby-2.1.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:inblock in require'
from /home/victor/.rvm/gems/ruby-2.1.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:214:in load_dependency' from /home/victor/.rvm/gems/ruby-2.1.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:inrequire'
from /home/victor/.rvm/gems/ruby-2.1.0/gems/activewarehouse-etl-1.0.0/lib/etl/engine.rb:38:in init' from /home/victor/.rvm/gems/ruby-2.1.0/gems/activewarehouse-etl-1.0.0/lib/etl/commands/etl.rb:79:inexecute'
from /home/victor/.rvm/gems/ruby-2.1.0/gems/activewarehouse-etl-1.0.0/lib/etl/commands/etl.rb:90:in <top (required)>' from /home/victor/.rvm/gems/ruby-2.1.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:inrequire'
from /home/victor/.rvm/gems/ruby-2.1.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in block in require' from /home/victor/.rvm/gems/ruby-2.1.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:214:inload_dependency'
from /home/victor/.rvm/gems/ruby-2.1.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in require' from /home/victor/.rvm/gems/ruby-2.1.0/gems/activewarehouse-etl-1.0.0/bin/etl:28:in<top (required)>'
from /home/victor/.rvm/gems/ruby-2.1.0/bin/etl:23:in load' from /home/victor/.rvm/gems/ruby-2.1.0/bin/etl:23:in

'
from /home/victor/.rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in eval' from /home/victor/.rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant