Joseph D. Cohen
Joseph D. Cohen
Possible quick & dirty fix for Dave W's use case is quoting `
Idea: If Name doesn't exist in MO: - Add it - Deprecate older Name in MO if the iNat name is a taxon change.
I think @mo-nathan fixed this. Compare `http://localhost:3000/species_lists/2322`: to `http://localhost:3000/species_lists/2322?project=388`: (Actions are the same.)
Some useful AR queries: ```ruby Observation.where(user: 123, inat_id: nil).where("notes REGEXP ?", '\\\nhttps://www.inaturalist.org/observations/[0-9]+').where.not("notes REGEXP ?", 'Mirrored on iNaturalist as
```ruby > mirrored_obss.in_batches.each { |obs| n_inat_id = obs.notes[:Other].match(/observations\/(\d+)/)[1].to_i; obs.update_columns(inat_id: n_inat_id) } Observation Ids (98.8ms) SELECT `observations`.`id` FROM `observations` WHERE (`observations`.`inat_id` IS NULL) AND ((notes REGEXP 'Mirrored on iNaturalist as
Check various External Link tasks.
Closing because: - We now use an External Link for iNat Imports. - I'm not going to worry about Mirrored Observations; just let them be with the "Mirrored" link in...
### Calls to API_Base PageParser#next_request ```ruby headers = { authorization: "Bearer #{@importer.token}", accept: :json } ::RestClient::Request.execute( method: :get, url: "#{API_BASE}/observations?#{query_args.to_query}", headers: headers ``` InatImportJob#ensure_importing_own_observations ```ruby headers = { authorization: "Bearer...
👍 I agree with all of that. Some edge-y cases that may present special issues: - Species with genus incertae sedis. Example: [ _Lyophyllaceae_ PNW01.](https://mushroomobserver.org/names/113087). (MO currently won't allow a...
```ruby NameError in Admin::Emails::Features#new Showing /Users/joe/mushroom-observer/app/views/controllers/admin/emails/features/new.html.erb where line #5 raised: undefined local variable or method `admin_emails_feature_path' for an instance of # Extracted source (around line #5): %> ```