activewarehouse / activewarehouse-etl

Extract-Transform-Load library from ActiveWarehouse
MIT License
240 stars 102 forks source link

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

Open victorvprem opened 10 years ago

victorvprem commented 10 years ago

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
'