vhochstein / active_scaffold

Rails 4 Version of activescaffold supporting jquery
MIT License
156 stars 34 forks source link

Unable to run as a Plugin #155

Closed tripodrob closed 13 years ago

tripodrob commented 13 years ago

Hi, I'm trying to use the ActiveScaffold as a Plugin, but I get the error below. I installed the render_component and verification as instructed. The reason I want the plugin, is that I want to modify the pagination to include dynamic changing of the items per page.

Thanks, Robbie

/Library/Ruby/Gems/1.8/gems/activesupport-3.0.7/lib/active_support/core_ext/module/aliasing.rb:31:in alias_method': undefined methodrender' for class ActionView::Renderer' (NameError) from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.7/lib/active_support/core_ext/module/aliasing.rb:31:inalias_method_chain' from /Users/rwb3y/_projects/activescaffold/TestApp/vendor/plugins/active_scaffold/lib/active_scaffold/extensions/action_view_rendering.rb:101 from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in require' from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:inrequire' from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:in load_dependency' from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:596:innew_constants_in' from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:in load_dependency' from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:inrequire' from /Users/rwb3y/_projects/activescaffold/TestApp/vendor/plugins/active_scaffold/lib/active_scaffold_env.rb:2 from /Users/rwb3y/_projects/activescaffold/TestApp/vendor/plugins/active_scaffold/lib/active_scaffold_env.rb:2:in each' from /Users/rwb3y/_projects/activescaffold/TestApp/vendor/plugins/active_scaffold/lib/active_scaffold_env.rb:2 from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:inrequire' from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in require' from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:inload_dependency' from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:596:in new_constants_in' from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:inload_dependency' from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in require' from /Users/rwb3y/_projects/activescaffold/TestApp/vendor/plugins/active_scaffold/lib/active_scaffold.rb:371 from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:inrequire' from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in require' from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:inload_dependency' from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:596:in new_constants_in' from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:inload_dependency' from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in require' from /Users/rwb3y/_projects/activescaffold/TestApp/vendor/plugins/active_scaffold/init.rb:1 from /Library/Ruby/Gems/1.8/gems/railties-3.0.7/lib/rails/plugin.rb:81 from /Library/Ruby/Gems/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:25:ininstance_exec' from /Library/Ruby/Gems/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:25:in run' from /Library/Ruby/Gems/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:50:inrun_initializers' from /Library/Ruby/Gems/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:49:in each' from /Library/Ruby/Gems/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:49:inrun_initializers' from /Library/Ruby/Gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:134:in initialize!' from /Library/Ruby/Gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:77:insend' from /Library/Ruby/Gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:77:in method_missing' from /Users/rwb3y/_projects/activescaffold/TestApp/config/environment.rb:5 from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:inrequire' from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in require' from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:inload_dependency' from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:596:in new_constants_in' from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:inload_dependency' from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in require' from /Users/rwb3y/_projects/activescaffold/TestApp/config.ru:3 from /Library/Ruby/Gems/1.8/gems/rack-1.2.3/lib/rack/builder.rb:46:ininstance_eval' from /Library/Ruby/Gems/1.8/gems/rack-1.2.3/lib/rack/builder.rb:46:in initialize' from /Users/rwb3y/_projects/activescaffold/TestApp/config.ru:1:innew' from /Users/rwb3y/_projects/activescaffold/TestApp/config.ru:1

vhochstein commented 13 years ago

If you are using rails 3.0 please use rails-3.0 branch. If you are using rails-3.1, you may use master, but it is nt working so far.