Ahoy,
I’m trying to find where the
rake db:migrate , db:fixtures
and other rake commands are in the actual source code.
I’m using edge rails , just being a bit crazy and reading source code
all day and can’t find those.
Any hints?
Ahoy,
I’m trying to find where the
rake db:migrate , db:fixtures
and other rake commands are in the actual source code.
I’m using edge rails , just being a bit crazy and reading source code
all day and can’t find those.
Any hints?
All the Rails built in rake tasks are in
vendor/rails/railties/lib/tasks - various .rake files depending on
function.
thanks. will give a look.
You can use “rake --tasks”.
The files Tom mentioned can also be found in your apps lib/tasks/
directory.
Brian,
I was just curious as to what the code looked like to execute those
tasks. I looked, but need to study ruby a bit more first. heh
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs