Created
April 22, 2015 04:39
-
-
Save joshco/38a9eccd103213bf747d to your computer and use it in GitHub Desktop.
A typical set of available rake tasks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rake -T | |
DL is deprecated, please use Fiddle | |
rake about # List versions of all Rails framew... | |
rake apartment:create # Create all tenants | |
rake apartment:migrate # Migrate all tenants | |
rake apartment:migrate:down # Runs the "down" for a given migra... | |
rake apartment:migrate:redo # Rolls back the tenant one migrati... | |
rake apartment:migrate:up # Runs the "up" for a given migrati... | |
rake apartment:rollback # Rolls the migration back to the p... | |
rake apartment:seed # Seed all tenants | |
rake assets:clean[keep] # Remove old compiled assets | |
rake assets:clobber # Remove compiled assets | |
rake assets:environment # Load asset compile environment | |
rake assets:precompile # Compile all the assets named in c... | |
rake bourbon:install[sass_path] # Move files to the Rails assets di... | |
rake cache_digests:dependencies # Lookup first-level dependencies f... | |
rake cache_digests:nested_dependencies # Lookup nested dependencies for TE... | |
rake db:create # Creates the database from DATABAS... | |
rake db:drop # Drops the database from DATABASE_... | |
rake db:fixtures:load # Load fixtures into the current en... | |
rake db:migrate # Migrate the database (options: VE... | |
rake db:migrate:status # Display status of migrations | |
rake db:rollback # Rolls the schema back to the prev... | |
rake db:schema:cache:clear # Clear a db/schema_cache.dump file | |
rake db:schema:cache:dump # Create a db/schema_cache.dump file | |
rake db:schema:dump # Create a db/schema.rb file that i... | |
rake db:schema:load # Load a schema.rb file into the da... | |
rake db:seed # Load the seed data from db/seeds.rb | |
rake db:setup # Create the database, load the sch... | |
rake db:structure:dump # Dump the database structure to db... | |
rake db:structure:load # Recreate the databases from the s... | |
rake db:version # Retrieves the current schema vers... | |
rake doc:app # Generate docs for the app -- also... | |
rake haml:erb2haml # Convert html.erb to html.haml eac... | |
rake log:clear # Truncates all *.log files in log/... | |
rake middleware # Prints out your Rack middleware s... | |
rake notes # Enumerate all annotations (use no... | |
rake notes:custom # Enumerate a custom annotation, sp... | |
rake rails:template # Applies the template supplied by ... | |
rake rails:update # Update configs and some other ini... | |
rake routes # Print out all defined routes in m... | |
rake secret # Generate a cryptographically secu... | |
rake spec # Run all specs in spec directory (... | |
rake spec:controllers # Run the code examples in spec/con... | |
rake spec:features # Run the code examples in spec/fea... | |
rake spec:models # Run the code examples in spec/models | |
rake spec:services # Run the code examples in spec/ser... | |
rake stats # Report code statistics (KLOCs, et... | |
rake test # Runs all tests in test folder | |
rake test:all # Run tests quickly by merging all ... | |
rake test:all:db # Run tests quickly, but also reset db | |
rake test:db # Run tests quickly, but also reset db | |
rake time:zones:all # Displays all time zones, also ava... | |
rake tmp:clear # Clear session, cache, and socket ... | |
rake tmp:create # Creates tmp directories for sessi... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment