自分用メモ。
まず、モジュール名をチェックする。/engine/hoge_app/lib/hoge_app.rb
の moduleを確認。モジュール名がHogeAppであったとすると、rails consoleで
> ::HogeApp::ModelName.some_method
とすればモデルを操作できる。
More than 5 years have passed since last update.
自分用メモ。
まず、モジュール名をチェックする。/engine/hoge_app/lib/hoge_app.rb
の moduleを確認。モジュール名がHogeAppであったとすると、rails consoleで
> ::HogeApp::ModelName.some_method
とすればモデルを操作できる。
Register as a new user and use Qiita more conveniently