Description:
This generator will produce a new faq by creating a markdown file in the `app/faqs/` directory. The filename for the new file will be generated using the slug and publish date specified.
Example 1:
$ rails generate faqmarkdown:faq example-1 This will: - Generate a new faq using the slug specified and today's date: `app/faqs/{{CURRENT_DATE}}-example-1.markdown`.
Example 2:
$ rails generate faqmarkdown:faq example-2 --date=2012-04-10 This will: - Generate a new faq using the slug and publish date specified: `app/posts/2012-04-10-example-2.markdown`.