Yes I copied it straight out, no mods or anything.
The plugin order in environment.rb is what you said to put...
Now the comments_controller is giving me fits.
I copy it straight out of the plugin to the main app dir... no
modifications.
Works fine in dev.
But in production I get this error:
NoMethodError in CommentsController#create
undefined method `controller_name' for nil:NilClass
Try it out with a fresh rails project and CE install... just overwrite
the comments_controller and see if the same thing doesn't happen for
you in production mode...
I don't know if it's an engines problem or if production rails is
ignoring the config.plugins directive or what.
If anyone gets it to work please zip it up and post it somewhere for
me, so I can diff it, because I'm hella stumped.
Thanks for any help!
On Jan 16, 8:58 am, "Bruno Bornsztein" <
bruno.bornszt...@gmail.com>
wrote:
> Hmm.. this isn't happening to me on my production sites. Anyone else seeing
> this?
>
> Looks like line 15 of UsersController is calling
> AppConfig.default_mce_options, which for some reason is undefined at that
> time. Might have something to with the plugin's load order.
>
> Have you copied the entire UsersController out of CE and put it in your own
> app directory?
>