This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Assessment.__elasticsearch__.delete_index! index: Assessment.index_name | |
Assessment.__elasticsearch__.create_index! | |
Assessment.import |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oz:assessment_ranges_by_aid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Resolving dependencies...... | |
Bundler could not find compatible versions for gem "activemodel": | |
In Gemfile: | |
active_model_serializers was resolved to 0.10.10, which depends on | |
activemodel (< 6.1, >= 4.1) | |
carrierwave (~> 1.0) was resolved to 1.1.0, which depends on | |
activemodel (>= 4.0.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
77145257, 77164671, 107468222, 102828588, 525323, 102702009, 21416160, 9403273, 21416160, 520965 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { expect } from 'chai'; | |
import { mount, render, shallow } from 'enzyme'; | |
import { spy } from 'sinon'; | |
import configureMockStore from 'redux-mock-store'; | |
import { Provider } from 'react-redux'; | |
import AssessmentDetails from 'components/Species/AssessmentDetails'; | |
describe('Species/AssessmentDetails', () => { | |
it('without data it renders Spinner', () => { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sql ="select st_isvalid(ar.geom::geometry) from assessment_ranges ar where ar.assessment_id=871762" | |
rcd = ActiveRecord::Base.connection.exec_query(sql) | |
rcd.rows | |
ST_AsGeoJson | |
st_isvalid | |
https://postgis.net/docs/ST_IsValidDetail.html | |
https://postgis.net/docs/ST_IsValidReason.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.flexmonster.com/question/how-to-use-a-date-or-year-month-with-elasticsearch/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"assm": { | |
"mappings": { | |
"properties": { | |
"assessors": { | |
"type": "text", | |
"store": true | |
}, | |
"biogeolms": { | |
"properties": { |