Skip to content

As easy way to build a rails dropdown of NTEE codes#1

Merged
nbudin merged 3 commits into
gively:masterfrom
mission-met:master
Sep 20, 2018
Merged

As easy way to build a rails dropdown of NTEE codes#1
nbudin merged 3 commits into
gively:masterfrom
mission-met:master

Conversation

@rickychilcott

Copy link
Copy Markdown
Contributor

This is kind of a long shot, but thought I'd make a PR. This is a helper method to build a rails dropdown. This will build an array of arrays where the NTEE name and the NTEE code. e.g. :

[["Arts, Culture & Humanities (A)", "A"],
 ["Alliances & Advocacy (A01)", "A01"],
 ["Management & Technical Assistance (A02)", "A02"],
 ["Professional Societies & Associations (A03)", "A03"],
 ["Research Institutes & Public Policy Analysis (A05)", "A05"]
<snip>

Example:

NTEE.as_list

@nbudin

nbudin commented Sep 20, 2018

Copy link
Copy Markdown
Member

Thanks, this looks great! I'll merge it and do a release.

@nbudin
nbudin merged commit c08521f into gively:master Sep 20, 2018
@nbudin

nbudin commented Sep 20, 2018

Copy link
Copy Markdown
Member

This is now released as version 0.0.4.

@rickychilcott

Copy link
Copy Markdown
Contributor Author

Awesome. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants