Skip to content

Instantly share code, notes, and snippets.

@7hunderbird
Created June 10, 2011 02:18
Show Gist options
  • Save 7hunderbird/1018132 to your computer and use it in GitHub Desktop.
Save 7hunderbird/1018132 to your computer and use it in GitHub Desktop.
warning message, what does this really mean?
[demo_app (master)]$ rake -T
WARNING: Global access to Rake DSL methods is deprecated. Please include
... Rake::DSL into classes and modules which use the Rake DSL methods.
WARNING: DSL method DemoApp::Application#task called at /Users/tbird/.rvm/gems/ruby-1.8.7-p334/gems/railties-3.0.7/lib/rails/application.rb:215:in `initialize_tasks'
rake about # List versions of all Rails frameworks and the environment
rake db:create # Create the database from config/database.yml for the current Rail...
rake db:drop # Drops the database for the current Rails.env (use db:drop:all to ...
rake db:fixtures:load # Load fixtures into the current environment's database.
rake db:migrate # Migrate the database (options: VERSION=x, VERBOSE=false).
rake db:migrate:status # Display status of migrations
rake db:rollback # Rolls the schema back to the previous version (specify steps w/ S...
rake db:schema:dump # Create a db/schema.rb file that can be portably used against any ...
rake db:schema:load # Load a schema.rb file into the database
rake db:seed # Load the seed data from db/seeds.rb
rake db:setup # Create the database, load the schema, and initialize with the see...
rake db:structure:dump # Dump the database structure to an SQL file
rake db:version # Retrieves the current schema version number
rake doc:app # Generate docs for the app -- also availble doc:rails, doc:guides,...
rake log:clear # Truncates all *.log files in log/ to zero bytes
rake middleware # Prints out your Rack middleware stack
rake notes # Enumerate all annotations (use notes:optimize, :fixme, :todo for ...
rake notes:custom # Enumerate a custom annotation, specify with ANNOTATION=CUSTOM
rake rails:template # Applies the template supplied by LOCATION=/path/to/template
rake rails:update # Update both configs and public/javascripts from Rails (or use jus...
rake routes # Print out all defined routes in match order, with names.
rake secret # Generate a cryptographically secure secret key (this is typically...
rake stats # Report code statistics (KLOCs, etc) from the application
rake test # Runs test:units, test:functionals, test:integration together (als...
rake test:recent # Run tests for recenttest:prepare / Test recent changes
rake test:uncommitted # Run tests for uncommittedtest:prepare / Test changes since last c...
rake time:zones:all # Displays all time zones, also available: time:zones:us, time:zone...
rake tmp:clear # Clear session, cache, and socket files from tmp/ (narrow w/ tmp:s...
rake tmp:create # Creates tmp directories for sessions, cache, sockets, and pids
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment