vhochstein / active_scaffold

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

Rails 3.1 install as plugin error #175

Closed wyh770406 closed 12 years ago

wyh770406 commented 13 years ago

when I try to install AS in rails 3.1 rc4 as a plugin, I got the following error gems/railties-3.1.0.rc4/lib/rails/plugin.rb:86:in `block in class:Plugin': "active_scaffold_vho" is a Railtie/Engine and cannot be installed as a plugin (RuntimeError) why? could you please fix this issue?

thanks !

vhochstein commented 13 years ago

Well, rails 3.1 is far from being finished. If you wanna help developing it, would be great. In any other case I would recommend to not use activescaffold for rails 3.1

wyh770406 commented 13 years ago

does activescaffold support mongodb&mongoid adminstration if I downgrade to rails 3.0?

vhochstein commented 13 years ago

No, I doubt it. Activescaffold relies heavily on ActiveRecord Associations and they are not part of ActiveModel. However, Ive never tried what will happen.

wyh770406 commented 13 years ago

ok, I see .
Activescaffold does not support mongoid ORM for now. Thanks for your answer!

vhochstein commented 12 years ago

will close this issue. Rails will deprecate plugins. and Rails 4.0 will stop supporting plugins