aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tasks/dev_load_sample_data.rake
Commit message (Collapse)AuthorAgeFilesLines
* Add license header to files.Harald Eilertsen2018-06-171-0/+15
|
* Make sample data nicer.Harald Eilertsen2014-02-061-2/+7
| | | | | - Wrap text in simple html. - Assign sidebar position to categories.
* Posts in sample data should belong to category.Harald Eilertsen2013-12-231-4/+5
|
* Add rake task to generate sample data.Harald Eilertsen2013-12-231-0/+35
Run `rake dev:load_sample_data` to populate the database with sample data. This creates the following: - The categories [Nyheter, Intervjuer, Anmeldelser, Artikler] - A "sample user" we can use as the author of posts. - 5 blog posts in each category.