Help with rake

  • Thread starter Jeremy Woertink
  • Start date
J

Jeremy Woertink

Can anyone tell me exactly how rake works? How does it know what to do?


Also, when I run rake db:anything, it changes my schema file to an
autogenerated format, can anyone tell me where it gets the info for
this?


Thanks
 
E

Eric Hodel

Can anyone tell me exactly how rake works? How does it know what to
do?

Jim Weirich's site onestepback.org has several articles on how rake
does what it does:

http://www.google.com/search?q=site:onestepback.org+rake

If you want the short answer, it builds a dependency tree, performs a
topological sort, then runs things in order until done.
Also, when I run rake db:anything, it changes my schema file to an
autogenerated format, can anyone tell me where it gets the info for
this?

Ask the Rails list.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,219
Messages
2,571,120
Members
47,741
Latest member
WilliamsFo

Latest Threads

Top