Brenda Wallace
|
3ad048b7e8
|
Fixed linter issue, empty line after guard clause
|
2018-09-13 23:10:43 +12:00 |
|
Brenda Wallace
|
84e47b721b
|
removed duplicate crop chart methods
|
2018-04-02 11:36:16 +12:00 |
|
Brenda Wallace
|
fa32537c3b
|
Merge remote-tracking branch 'upstream/dev' into upgrade/rails-5
Conflicts:
.rubocop_todo.yml
Gemfile.lock
app/assets/javascripts/application.js
app/assets/javascripts/members.js.erb
app/assets/stylesheets/predictions.sass
app/controllers/crops_controller.rb
app/controllers/orders_controller.rb
app/controllers/plantings_controller.rb
app/models/account.rb
app/models/account_type.rb
app/models/member.rb
app/models/order.rb
app/models/order_item.rb
app/models/product.rb
app/views/gardens/show.html.haml
app/views/layouts/application.html.haml
config/initializers/assets.rb
config/routes.rb
db/schema.rb
package-lock.json
spec/controllers/account_types_controller_spec.rb
spec/controllers/admin/orders_controller_spec.rb
spec/controllers/comments_controller_spec.rb
spec/controllers/gardens_controller_spec.rb
spec/controllers/harvests_controller_spec.rb
spec/controllers/member_controller_spec.rb
spec/controllers/order_items_controller_spec.rb
spec/controllers/orders_controller_spec.rb
spec/controllers/photo_associations_controller_spec.rb
spec/controllers/photos_controller_spec.rb
spec/controllers/plantings_controller_spec.rb
spec/controllers/seeds_controller_spec.rb
spec/controllers/shop_controller_spec.rb
spec/features/crops/crop_detail_page_spec.rb
spec/models/member_spec.rb
spec/models/post_spec.rb
spec/views/crops/_planting_advice.html.haml_spec.rb
spec/views/home/_crops.html.haml_spec.rb
spec/views/orders/show.html.haml_spec.rb
spec/views/posts/show.html.haml_spec.rb
spec/views/shop/index_spec.rb
|
2018-04-02 10:59:13 +12:00 |
|
Brenda Wallace
|
65b4c7dbc1
|
Revert "Auto corrected by following Style/StringLiterals"
This reverts commit ab56a3c6b3.
|
2018-02-09 07:58:47 +13:00 |
|
Awesome Code
|
ab56a3c6b3
|
Auto corrected by following Style/StringLiterals
|
2018-02-07 10:20:26 +13:00 |
|
Brenda Wallace
|
cf93489af7
|
Fixed crops chart permissions by moving to another controller
|
2018-01-23 09:00:34 +13:00 |
|
Brenda Wallace
|
196d37dee9
|
Re-instated the extra fields on crop.json
|
2018-01-23 09:00:34 +13:00 |
|
Brenda Wallace
|
5ea7ae8af0
|
Added Harvested for chart
|
2018-01-23 09:00:34 +13:00 |
|
Brenda Wallace
|
eb1b890eec
|
Add planted_from chart
|
2018-01-23 09:00:34 +13:00 |
|
Brenda Wallace
|
1bf05f81ab
|
Convert to use chartkick gem
Conflicts:
Gemfile
Gemfile.lock
config/initializers/assets.rb
|
2018-01-23 09:00:34 +13:00 |
|
Brenda Wallace
|
390282f9f2
|
Added Harvested for chart
|
2018-01-11 09:03:13 +13:00 |
|
Brenda Wallace
|
ad6601b356
|
Add planted_from chart
|
2018-01-11 08:29:20 +13:00 |
|
Brenda Wallace
|
34280123e5
|
Convert to use chartkick gem
Conflicts:
Gemfile
Gemfile.lock
config/initializers/assets.rb
|
2018-01-08 11:28:59 +13:00 |
|
Shiny
|
96bb345ca9
|
Merge branch 'dev' into ordering
|
2017-12-08 20:20:27 +13:00 |
|
Brenda Wallace
|
4ce3e8968f
|
crops#show order posts by most recent first
|
2017-12-07 14:58:57 +13:00 |
|
Brenda Wallace
|
a6a7f789a3
|
Rubocop upgrade (and some style fixes)
|
2017-12-01 21:07:39 +13:00 |
|
Brenda Wallace
|
0446c0a405
|
Add ordering back into controller #index
|
2017-11-29 20:59:37 +13:00 |
|
Brenda Wallace
|
267f27b3f8
|
rubocop fix up
|
2017-11-01 14:48:42 +13:00 |
|
Brenda Wallace
|
d1951b8b65
|
Edit and show perennial plants
|
2017-11-01 14:22:39 +13:00 |
|
Brenda Wallace
|
963aafd5ab
|
Added missing respond_with to crops controller
This tells rails what to use in json responses
|
2017-05-29 16:17:43 +12:00 |
|
Brenda Wallace
|
7ad13d3eff
|
Don't restrict crop search to approved
|
2017-05-29 16:17:43 +12:00 |
|
Brenda Wallace
|
15d93e6c33
|
Move includes(:photos) before pagination
|
2017-05-29 16:17:43 +12:00 |
|
Brenda Wallace
|
484e20ba83
|
Don't attempt to create blank altnames or scinames
|
2017-05-29 16:17:43 +12:00 |
|
Brenda Wallace
|
e7d7ee396e
|
Further DRY of saving crops
|
2017-05-29 16:17:43 +12:00 |
|
Brenda Wallace
|
de5b56235e
|
Small style change to reduce size of crops#show
|
2017-05-29 16:17:43 +12:00 |
|
Brenda Wallace
|
318ef46ae8
|
crops pending approval, fetched in one method (DRY)
|
2017-05-29 16:17:43 +12:00 |
|
Brenda Wallace
|
6fef56ebb7
|
DRY the crops controller
|
2017-05-29 16:17:43 +12:00 |
|
Brenda Wallace
|
e9003ad32a
|
Small dry of crops controller
|
2017-05-29 16:17:43 +12:00 |
|
Brenda Wallace
|
4fedc7f23f
|
Member can see crops they have requested
|
2017-01-23 09:49:47 +13:00 |
|
Brenda Wallace
|
370938c9f9
|
change deliver_later to deliver_now, so we don't sys.exit() crash
|
2017-01-22 21:22:30 +13:00 |
|
Brenda Wallace
|
40a981c94d
|
Removed unnecesary braces on hash args
|
2017-01-22 15:10:11 +13:00 |
|
Brenda Wallace
|
0fa9f54c9c
|
Rename member.has_role? to role?
|
2017-01-14 20:54:43 +13:00 |
|
Brenda Wallace
|
4f465d808c
|
We don't need to load the resource again
|
2016-12-07 23:54:03 +00:00 |
|
Shiny
|
b454132cae
|
Merge branch 'dev' into bw/useless-assignments
|
2016-12-01 12:51:13 +13:00 |
|
Brenda Wallace
|
178c181cf5
|
Merge remote-tracking branch 'upstream/dev' into bw/useless-assignments
Conflicts:
app/controllers/crops_controller.rb
app/models/crop.rb
spec/models/scientific_name_spec.rb
|
2016-11-30 10:32:02 +13:00 |
|
Mackenzie Morgan
|
4857fd8d2e
|
return from conditional
|
2016-11-29 12:20:17 -05:00 |
|
Mackenzie Morgan
|
99c8db72d6
|
syntax
|
2016-11-29 12:14:16 -05:00 |
|
Mackenzie Morgan
|
53849a26e5
|
merge
|
2016-11-29 12:11:52 -05:00 |
|
Mackenzie Morgan
|
9dc02cd3d8
|
make changes from code review
|
2016-11-29 12:10:48 -05:00 |
|
Mackenzie Morgan
|
832719b01a
|
merge from upstream dev
|
2016-11-29 09:37:25 -05:00 |
|
Mackenzie Morgan
|
e1e9a52186
|
use a guard clause
|
2016-11-28 22:08:14 -05:00 |
|
Mackenzie Morgan
|
66c8ce78bc
|
further DRY up crops controller
|
2016-11-28 22:04:32 -05:00 |
|
Mackenzie Morgan
|
e1a2b168c9
|
rename scientific_names.scientific_name to scientific_names.name
this mirrors alternate_names.name and allows making code more DRY
|
2016-11-28 21:57:51 -05:00 |
|
Brenda Wallace
|
8c7fcd9d49
|
Fixed all useless assignments
|
2016-11-26 19:36:59 +13:00 |
|
Brenda Wallace
|
07c135eeb5
|
before_filter is now before_action
|
2016-11-26 17:20:13 +13:00 |
|
Brenda Wallace
|
723ebff923
|
Spacing fixes
|
2016-11-26 12:13:17 +13:00 |
|
Brenda Wallace
|
62e7c716dd
|
Removed extra empty blank lines
|
2016-11-26 12:06:02 +13:00 |
|
Brenda Wallace
|
2e46cccd21
|
Hash alignment
|
2016-11-26 11:52:10 +13:00 |
|
Brenda Wallace
|
d268d2b09e
|
Fixed indentation on comments
|
2016-11-26 11:45:25 +13:00 |
|
Brenda Wallace
|
c878baa886
|
Indented parameters cleanup
|
2016-11-26 11:41:07 +13:00 |
|