KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a rake task that I want to pass parameters to. For example, I want to issue a command like <prompt> rake db:do_something 1 and inside the rake task: ... cust = Customer.find( the_id_passed_in ) # do something with this customer record, etc... ... Pretty straightforward, right?
Tags (comma-separated)
Save Edits
Cancel