Commit Graph

16 Commits

Author SHA1 Message Date
Miles Gould
b30ea755e0 Merge branch 'planting-owner' into dev
Conflicts:
	script/deploy-tasks.sh
2013-08-27 16:35:32 +01:00
Skud
7b307ab907 reined in over-enthusiastic rake task 2013-08-27 11:18:41 +10:00
Skud
99bfc704dc Added plantings_count (i.e. counter_cache) to Member
Also removed the superfluous .plantings_count method on Crop, which was
causing some confusion.

A thing we learned today: we should use .size to find the size of
ActiveRecord collections, not .count, because .count doesn't use the
cache (while .size does).
2013-08-26 13:54:09 +10:00
Skud
73b7897c28 Added rake task to update planting owner
(using planting.garden.owner)
2013-08-26 12:28:01 +10:00
martyhines
eaa8ca0084 set default crop creator (rake task, deploy script, seeds) 2013-08-20 22:30:08 -04:00
Skud
06c608e6b6 added rake task to reset crop.plantings_count 2013-08-19 18:10:11 +10:00
Skud
6c8b959120 rake task to set seed.tradable_to to nowhere 2013-07-23 20:47:06 +10:00
Lucy
e7b0165628 Updated script/deploy-tasks.sh to include nil_account_type task.
We added a rake task to ensure all account have a Free account
type. This ensures the new nil_account_type rake task will be run
at deploy time.
2013-07-03 11:22:47 +01:00
Miles Gould
5e271e6279 Fix to deploy-tasks bash script. 2013-06-04 13:37:54 +01:00
Skud
266575252f minor improvement to paypal API env var checks 2013-06-04 21:44:32 +10:00
Skud
660d70645e Added oneoff task to set up shop/products/etc 2013-06-04 20:21:59 +10:00
Skud
4919bc9670 added reminder to deploy tasks to set paypal details 2013-06-04 19:44:23 +10:00
Skud
5ba023ad01 added deploy tasks script 2013-06-03 14:34:29 +10:00
Miles Gould
15ce32e786 Only stash unindexed changes if there are any.
This allows `git commit --amend` to work properly.
2012-09-10 17:42:29 +01:00
Miles Gould
b173aad6b7 Added pre-commit hook script to run spec tests.
Based on instructions found at
http://codeinthehole.com/writing/tips-for-using-a-git-pre-commit-hook/

I have no idea how portable this will be.
2012-09-10 15:29:49 +01:00
Cesy Avon
95145f2869 Moving development to top level directory 2012-08-23 10:41:00 -07:00