mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
update engines guide to explicitly reference relative-to-engine-root-path for db/seeds.rb
This commit is contained in:
parent
4435959de1
commit
6a2cf4cc3a
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ module Rails
|
|||
# migration in the application and rerun copying migrations.
|
||||
#
|
||||
# If your engine has migrations, you may also want to prepare data for the database in
|
||||
# the <tt>seeds.rb</tt> file. You can load that data using the <tt>load_seed</tt> method, e.g.
|
||||
# the <tt>db/seeds.rb</tt> file. You can load that data using the <tt>load_seed</tt> method, e.g.
|
||||
#
|
||||
# MyEngine::Engine.load_seed
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue