google-labs-jules[bot]
ac1463e2cf
Add international alternate names for crops ( #4132 )
...
* I will add the international alternate names for the crops.
* Mark required
* Update factory
* Add placeholder
* Fix seeds
* Add language, though hardcoded to EN in most places
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Daniel O'Connor <daniel.oconnor@gmail.com >
2025-08-24 21:44:41 +09:30
Daniel O'Connor
b77df88df9
Issues/1475: Ensure we have pagination ( #3193 )
...
* Paginate, 100 at a time
* Limited i18n
* Paginate roles
* Pagination
* Pagination
* i18n and pagination
* Paginate alternate names
* Silence code climate
* Rewrite coverage as a feature
* Remove coverage in favour of crops/scientific_name_spec
* Add missing admin link
* Rewrite coverage as feature
* Rewrite coverage
---------
Co-authored-by: Brenda Wallace <brenda@wallace.net.nz >
2024-01-21 14:19:36 +10:30
Brenda
7257b2ada1
Update with frozen literals
2020-01-10 16:50:52 +13:00
Brenda Wallace
468dded162
Remove controller actions for method that don't exist
2018-12-30 15:32:59 +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
b5636af3be
Add responders to alternate names controller
2017-05-29 16:17:43 +12:00
Brenda Wallace
01c6a6da9f
improvements to alternate names controller
2017-02-11 19:45:33 +13:00
Brenda Wallace
4f465d808c
We don't need to load the resource again
2016-12-07 23:54:03 +00:00
Brenda Wallace
03cb4a8dee
use find_or_initialize_by
2016-12-02 00:23:46 +00:00
Brenda Wallace
07c135eeb5
before_filter is now before_action
2016-11-26 17:20:13 +13:00
Brenda Wallace
bcdd2a9167
Changed called to rails dynamic find_by
2016-11-26 15:55:38 +13:00
pozorvlak
e6209a5906
Remove "show" methods that just do the default
...
We can just fall back to the default implementation for these.
2016-06-08 15:58:45 +01:00
pozorvlak
a8961c3466
Revert "Show concern"
2016-06-08 12:58:32 +01:00
Mackenzie Morgan
8648db5518
create SimpleShow concern for models where show's json call is simple
2016-05-25 13:37:01 -04:00
Daniel O'Connor
4b4e0cf69a
$ rubocop --only HashSyntax --auto-correct
...
483 files inspected, 2018 offenses detected, 2018 offenses corrected
2016-05-19 15:53:11 -04:00
Taylor Griffin
a35a573b2b
update follow member code to be rails 4 compatible
2014-12-14 14:51:18 +11:00
Yoong Kang Lim
837121265a
Reversed order of authorization and authentication. Also added tests
2014-12-09 21:27:16 +11:00
Yoong Kang Lim
81d1189203
Added a before_filter for any action that requires authentication. Will redirect to login page if not logged in
2014-11-24 22:12:42 +11:00
Taylor Griffin
acbd3f9a9e
implement strong parameters instead of protected attributes
2014-11-18 20:08:54 +11:00
Miles Gould
29d53a8f8b
Test for notices in altname CRUD features.
2014-10-19 12:02:31 +01:00
Miles Gould
110ae99d83
Fix and test altname index page.
2014-10-18 17:55:56 +01:00
Miles Gould
96d2fa1cb6
Put alternate names controller in standard order.
2014-10-18 17:41:52 +01:00
Miles Gould
c7c85aaa66
Creation and deletion of alternate names
2014-10-18 17:03:54 +01:00
Miles Gould
eacfadae20
Make editing alternate names actually do something.
2014-10-18 16:51:43 +01:00
Miles Gould
37eb2a0e34
Show alternate names on their own page.
2014-10-18 16:49:27 +01:00
Miles Gould
10f6214c6c
Views for adding/editing alternate names.
2014-10-18 16:34:38 +01:00
Miles Gould
7e4b51d1cb
Add "Edit" link for alternate names on crops page.
2014-10-18 15:18:23 +01:00