Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- kmo@ ~/Dropbox/srv/git/okinfo [master] $ rake -T
- (in /home/kmo/Dropbox/srv/git/okinfo)
- rake about # List versions of all Rails frameworks and the environment
- rake app:geo:update_all # Update company_addresses coordinates
- rake app:notice:weekly_for_company # Weekly newsletter
- rake db:create # Create the database from config/database.yml for the current Rails.env (use db:create:all to create all dbs in the config)
- rake db:drop # Drops the database for the current Rails.env (use db:drop:all to drop all databases)
- 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/ STEP=n).
- rake db:schema:dump # Create a db/schema.rb file that can be portably used against any DB supported by AR
- 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 seed data (use db:reset to also drop the db first)
- 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, doc:plugins (options: TEMPLATE=/rdoc-template.rb, TITLE="Custom Title")
- rake hoptoad:deploy # Notify Hoptoad of a new deploy.
- rake hoptoad:heroku:add_deploy_notification # Install Heroku deploy notifications addon
- rake hoptoad:test # Verify your gem installation by sending a test exception to the hoptoad service
- 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 focus)
- rake notes:custom # Enumerate a custom annotation, specify with ANNOTATION=CUSTOM
- rake paperclip:clean # Cleans out invalid attachments.
- rake paperclip:refresh # Refreshes both metadata and thumbnails.
- rake paperclip:refresh:metadata # Regenerates content_type/size metadata for a given CLASS (and optional ATTACHMENT).
- rake paperclip:refresh:thumbnails # Regenerates thumbnails for a given CLASS (and optional ATTACHMENT).
- 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 just update:javascripts or update:configs)
- rake routes # Print out all defined routes in match order, with names.
- rake secret # Generate a cryptographically secure secret key (this is typically used to generate a secret for cookie sessions).
- rake spec # Run all specs in spec directory (excluding plugin specs)
- rake spec:controllers # Run the code examples in spec/controllers
- rake spec:helpers # Run the code examples in spec/helpers
- rake spec:lib # Run the code examples in spec/lib
- rake spec:mailers # Run the code examples in spec/mailers
- rake spec:models # Run the code examples in spec/models
- rake spec:rcov # Run all specs with rcov
- rake spec:requests # Run the code examples in spec/requests
- rake spec:routing # Run the code examples in spec/routing
- rake spec:views # Run the code examples in spec/views
- rake state_machine:draw # Draws a set of state machines using GraphViz.
- rake stats # Report code statistics (KLOCs, etc) from the application
- rake test # Runs test:units, test:functionals, test:integration together (also available: test:benchmark, test:profile, test:plugins)
- rake test:recent # Run tests for recenttest:prepare / Test recent changes
- rake test:uncommitted # Run tests for uncommittedtest:prepare / Test changes since last checkin (only Subversion and Git)
- rake thinking_sphinx:configure # Generate the Sphinx configuration file using Thinking Sphinx's settings
- rake thinking_sphinx:index # Index data for Sphinx using Thinking Sphinx's settings
- rake thinking_sphinx:rebuild # Stop Sphinx (if it's running), rebuild the indexes, and start Sphinx
- rake thinking_sphinx:reindex # Reindex Sphinx without regenerating the configuration file
- rake thinking_sphinx:restart # Restart Sphinx
- rake thinking_sphinx:running_start # Stop if running, then start a Sphinx searchd daemon using Thinking Sphinx's settings
- rake thinking_sphinx:start # Start a Sphinx searchd daemon using Thinking Sphinx's settings
- rake thinking_sphinx:stop # Stop Sphinx using Thinking Sphinx's settings
- rake thinking_sphinx:version # Output the current Thinking Sphinx version
- rake time:zones:all # Displays all time zones, also available: time:zones:us, time:zones:local -- filter with OFFSET parameter, e.g., OFFSET=-6
- rake tmp:clear # Clear session, cache, and socket files from tmp/ (narrow w/ tmp:sessions:clear, tmp:cache:clear, tmp:sockets:clear)
- rake tmp:create # Creates tmp directories for sessions, cache, sockets, and pids
- rake ts:conf # Generate the Sphinx configuration file using Thinking Sphinx's settings
- rake ts:config # Generate the Sphinx configuration file using Thinking Sphinx's settings
- rake ts:in # Index data for Sphinx using Thinking Sphinx's settings
- rake ts:rebuild # Stop Sphinx (if it's running), rebuild the indexes, and start Sphinx
- rake ts:reindex # Reindex Sphinx without regenerating the configuration file
- rake ts:restart # Restart Sphinx
- rake ts:run # Stop if running, then start a Sphinx searchd daemon using Thinking Sphinx's settings
- rake ts:start # Start a Sphinx searchd daemon using Thinking Sphinx's settings
- rake ts:stop # Stop Sphinx using Thinking Sphinx's settings
- rake ts:version # Output the current Thinking Sphinx version
- rake utf8_encode_headers # Manage the encoding header of Ruby files
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement