Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

rails generate rake task

$ rails g task my_namespace my_task1 my_task2
$ create lib/tasks/my_namespace.rake
Source by railsguides.net #
 
PREVIOUS NEXT
Tagged: #rails #generate #rake #task
ADD COMMENT
Topic
Name
8+7 =