Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
「オプション」をグローバルに設定したい:
(options, _) = parser.parse_args()
タイプは何ですか?
ティア、
ジョン
特定の型の値で明示的に初期化する必要はありません。global次のキーワードを使用するだけです。
global
global options (options, _) = parser.parse_args()
mongo-1.8.3、mongoid3.1.2と一緒にレールを使用する
多くの文字列フィールドを組み合わせて1つのfull_textインデックスを作成したいのですが、初期設定中にこのエラーが発生します
私のモデルは次のようになります:-