In Rake task definition, like following:
desc 'SOME description'
task :some_task => :environment do
# DO SOMETHING
end
What does the :some_task
in task :some_task => :environment
means?
Is it the method name which will be invoked in the DO SOMETHING
part?
Can :some_task
be any arbitrary string which describe the task?