Ryan Clark
95a2007683
fix up existing gardens with blank names.
2013-05-13 17:36:37 -07:00
Ryan Clark
ee136666d5
Replace name validation with before_filter and add rake tast for empty names. Replace validation testing with before_filter tests.
2013-05-09 13:06:29 -07:00
Skud
d4e5f0e32a
fixed linebreak causing syntax error
2013-05-08 20:23:55 +10:00
Skud
ad8a0110c5
One-off rake task to clean up empty notification subjects
...
Also fixed admin_user task to use login_name (case sensitive) rather
than the id-like stub generated by friendlyid (always lowercase).
2013-05-03 12:35:02 +10:00
Skud
ea96813d7c
make the site/app name (growstuff) a config var
2013-03-19 14:41:54 +11:00
Skud
81f247769f
Added a rake task to create an admin user.
...
You should only have to do this once, after deploying. Subsequent
admins can add new ones via the web interface.
The syntax is:
rake growstuff:admin_user name=skud
or, on heroku:
heroku run rake growstuff:admin_user name=skud
2013-02-20 14:54:38 +11:00