我有一个在ApplicationController中定义的方法
def some_checking
...
end
我想从另一个控制器中调用它。例如:
class OtherController < ApplicationController
some_checking
def xxx
end
end
我如何才能做到这一点呢?我就是进不了some_checking
AX 2012 R2类应用程序startupPost方法自定义代码错误中止AX客户端。
如何再进入斧头?由于这个致命的错误,我无法再次登录来更正错误的编码。
"Microsoft Dynamics客户端已停止工作。
一个问题导致程序停止正常工作。如果有可用的解决方案,Windows将关闭程序并通知您。“
我不能再进斧头了!为什么?因为我在类应用程序StartupPost方法中放错了代码
// No SYS code must exist in this method
// If you need the startup command, look in the class SysSta
我有句话:
“如何从mysql数据库中查找和替换文本中的单词?”
和MySQL表字,具有to 3列id、word和replaceWord。我在数据库里有4000多个单词。
表:
id word replaceWord
1 text sentence
2 word letter
3 mysql MySQL
4 .. ...
5 .. ...
6 .. ...
结果:
“如何从MySQL数据库中查找和替换语句中的字母?”
我知道如何在没有数据库的情况下做到这一点,但