Brenda Wallace
|
4a926415db
|
Call destroy, to mark a member as deleted
|
2017-05-21 11:32:54 +12:00 |
|
Brenda Wallace
|
b5b2582335
|
default scope says members deleted :false
|
2017-05-21 11:17:42 +12:00 |
|
Brenda Wallace
|
e2fe04a44b
|
Form and controller method to mark members as deleted
|
2017-05-20 22:01:20 +12:00 |
|
Brenda Wallace
|
15e2b4f595
|
Seeds on home page looking like thumbnails
|
2017-05-20 17:01:07 +12:00 |
|
Brenda Wallace
|
6e7bf11ec8
|
Seeds delegate name and default_photo to their crop
|
2017-05-20 17:00:49 +12:00 |
|
Brenda Wallace
|
5f9b0890fb
|
Move seed.interesting to a scope
|
2017-05-20 16:58:49 +12:00 |
|
Brenda Wallace
|
4841c52bcd
|
order crop.plant_parts by plant_parts.name
|
2017-05-20 15:46:37 +12:00 |
|
Brenda Wallace
|
7baabca827
|
Unique is un-necesary when declaring relationship to plant_parts
|
2017-05-20 15:46:37 +12:00 |
|
Brenda Wallace
|
9a19007b85
|
More railsy order by in models
|
2017-05-20 15:46:37 +12:00 |
|
Brenda Wallace
|
677f850e21
|
Removed extra blank line
|
2017-05-20 15:46:37 +12:00 |
|
Brenda Wallace
|
d771bc3688
|
More railsy syntax in default scopes
|
2017-05-20 15:46:37 +12:00 |
|
Brenda Wallace
|
1dfc58c120
|
Remove default scope from harvest.
Causes an ORDER clause to be added in queries even when not selecting
from that table. E.g. if we 're looking for PlantParts that have a
Harvest
|
2017-05-20 15:46:37 +12:00 |
|
Brenda Wallace
|
6f58f266a6
|
Moving has_photos scope to PhotoCapable
-
|
2017-05-20 15:46:37 +12:00 |
|
Brenda Wallace
|
e61c3f619b
|
Revert "Only show first 5 photos on gardens#show"
This reverts commit 93b25a5c32.
|
2017-05-07 16:10:14 +12:00 |
|
Brenda Wallace
|
93b25a5c32
|
Only show first 5 photos on gardens#show
|
2017-05-07 14:41:14 +12:00 |
|
Brenda Wallace
|
f7ca32d888
|
Moved garden photos to right/bottom
|
2017-05-06 13:30:57 +12:00 |
|
Brenda Wallace
|
1e6cb2cfe4
|
don't eager load harvests
|
2017-05-06 12:15:03 +12:00 |
|
Brenda Wallace
|
67ae80056a
|
Removed unnecesary div wrap
|
2017-05-06 12:08:23 +12:00 |
|
Brenda Wallace
|
13fa3c69e8
|
fixes places
card -> thumbnail
|
2017-05-06 12:06:28 +12:00 |
|
Brenda Wallace
|
caad557b2a
|
Updating specs to click glypicons
|
2017-05-06 12:03:57 +12:00 |
|
Brenda Wallace
|
0f030d2c27
|
Planting thumbnail links to planting
fixes #1308
|
2017-05-06 11:48:17 +12:00 |
|
Brenda Wallace
|
66d548c9c1
|
Added some glypicons to gardenshow
|
2017-05-06 11:47:24 +12:00 |
|
Brenda Wallace
|
c168bb4a2b
|
More fix up to alignment and thumbnail row counts gardens#show
|
2017-05-06 11:39:02 +12:00 |
|
Brenda Wallace
|
811db2961a
|
Quick fix up of photo display on garden#show
|
2017-05-05 23:38:19 +12:00 |
|
Brenda Wallace
|
ccc5eb3c9a
|
Make calc_and_set_days_before_maturity public
|
2017-04-28 20:48:25 +12:00 |
|
Brenda Wallace
|
0e71a4fcb3
|
Removed un-needed rubocop ignores
|
2017-04-28 20:48:25 +12:00 |
|
Brenda Wallace
|
4ea681984f
|
Call calc_and_set_days_before_maturity from controller
|
2017-04-28 20:48:25 +12:00 |
|
Brenda Wallace
|
dadc5b96c6
|
Reduced duplicate code further, with responders gem
This makes locale-friendly flash notices
|
2017-04-28 20:48:25 +12:00 |
|
Brenda Wallace
|
787fca138b
|
Added helpful comment about days_until_maturity
|
2017-04-28 20:48:25 +12:00 |
|
Brenda Wallace
|
b820615081
|
Moved planting maturity to planting model. simplified controller
|
2017-04-28 20:48:25 +12:00 |
|
Brenda Wallace
|
26c17ea19c
|
Plantings Thumbnails, fit to box
|
2017-04-25 10:58:17 +12:00 |
|
Brenda Wallace
|
acc75f80bf
|
include harvests when retrieving data for plantings#index
|
2017-04-25 10:58:17 +12:00 |
|
Brenda Wallace
|
d2378376e4
|
Plantings validators
Adding garden presence true.
Checks crop presence before crop approved
|
2017-04-22 20:48:48 +12:00 |
|
Brenda Wallace
|
976bdbbd96
|
Removed owner_matches?
it's not used anymore
|
2017-04-18 07:09:47 +00:00 |
|
Brenda Wallace
|
e1731793dd
|
controller specs for PhotoAssociations
|
2017-04-18 07:09:47 +00:00 |
|
Brenda Wallace
|
8ea3b27612
|
Responsive image on photos#show
|
2017-04-18 07:09:47 +00:00 |
|
Brenda Wallace
|
9469a69078
|
Deleting photo's association with another item
|
2017-04-18 07:09:47 +00:00 |
|
Brenda Wallace
|
cc46fe3336
|
Only delete own associations
|
2017-04-18 07:09:47 +00:00 |
|
Brenda Wallace
|
52b4064a2d
|
Don't overwrite edited photo titles
|
2017-04-18 07:09:47 +00:00 |
|
Brenda Wallace
|
d367b9ef21
|
UI for removing photos from plantings
|
2017-04-18 07:09:47 +00:00 |
|
Brenda Wallace
|
4711e4669f
|
Layout change on photos
|
2017-04-18 07:09:47 +00:00 |
|
Brenda Wallace
|
3e55024f98
|
Editing title of photos
|
2017-04-18 07:09:47 +00:00 |
|
Shiny
|
42e51a9cf6
|
Merge branch 'dev' into harvests-display
|
2017-04-17 10:00:20 +00:00 |
|
Brenda Wallace
|
667e0cc0e3
|
bugfix: Only show harvests if we have some
|
2017-04-17 21:59:31 +12:00 |
|
Brenda Wallace
|
339830b3bb
|
gardens#show Include crop, owner, harvesss and garden in query
|
2017-04-17 08:59:34 +00:00 |
|
Brenda Wallace
|
7770164672
|
Include owner in query, because we need it later
|
2017-04-17 08:59:34 +00:00 |
|
Brenda Wallace
|
f333607572
|
Reduced query count by .includes() on plantings
|
2017-04-17 08:59:34 +00:00 |
|
Brenda Wallace
|
87d3764eeb
|
Route for flickr auth callback -- Fixes #1106
|
2017-04-17 08:28:52 +00:00 |
|
Shiny
|
cd272a6443
|
Merge branch 'dev' into members-controller
|
2017-04-16 09:44:32 +00:00 |
|
Brenda Wallace
|
17236a4a8a
|
Garden thumbnail display cleanup
|
2017-04-16 13:48:22 +12:00 |
|