actionwebservice on rails 2.3.5 from github (http://github.com/
datanoise/actionwebservice) works in development mode but doesn’t seem
to be loading in production. Anyone else have this problem or a
solution?
Same for me.
Here’s my log :
Action Controller: Exception caught body { background-color: #fff;
color: #333; } body, p, ol, ul, td { font-family: verdana, arial,
helvetica, sans-serif; font-size: 13px; line-height: 18px; } pre
{ background-color: #eee; padding: 10px; font-size: 11px; } a { color:
#000; } a:visited { color: #666; } a:hover { color: #fff; background-
color:#000; } Unknown action No action responded to wsdl. Actions:
access_denied, check_roles, erreur_txt, export_csv,
get_apicrypt_from_code_6_chiffres_laboserveur, invocation,
invocation_method_params, invocation_submit, role_requirements,
role_requirements=, and set_current_user
It seems wsdl and api actions are unknown when in production mode.
Hi again,
Changing one line in config/environment/production.rb makes it work :
config.cache_classes = false # was true
I think there’s an impact on performance, but maybe it’s a clue to get
it work really in production mode ?