Skip to content

ArgumentError in Lexemes#edit #257

Description

@Muskworker

/en/lexemes/3200/edit
This appears to be related to the gloss having a parse.

ArgumentError in Lexemes#edit

Showing /Users/Muskwalker/Documents/Utilities/Rexko/gallery/Rexko Live/app/views/lexemes/_parse.html.erb where line #3 raised:

wrong number of arguments (0 for 1)
Extracted source (around line #3):

1: <%= 
2:     unless (f.object.try(:_destroy)) 
3:         if form.present? && form == :interlinear
4:             render partial: 'parses/shortform', locals: {f: f}
5:         else
6:             render partial: 'parses/lexemeform', locals: {f: f}
Trace of template inclusion: app/views/glosses/_shortform.html.erb, app/views/lexemes/_gloss.html.erb, app/views/senses/_shortform.html.erb, app/views/lexemes/_sense.html.erb, app/views/subentries/_shortform.html.erb, app/views/lexemes/_subentry.html.erb, app/views/lexemes/_form.html.erb, app/views/lexemes/edit.html.erb

Rails.root: /Users/Muskwalker/Documents/Utilities/Rexko/gallery/Rexko Live

Application Trace | Framework Trace | Full Trace
app/views/lexemes/_parse.html.erb:3:in `_app_views_lexemes__parse_html_erb__3136037994652519609_70144492401800'
app/helpers/application_helper.rb:122:in `block in list_children_with_option_to_add'
app/helpers/application_helper.rb:117:in `list_children_with_option_to_add'
app/views/glosses/_shortform.html.erb:7:in `_app_views_glosses__shortform_html_erb___2777081793768156911_70144492134220'
app/views/lexemes/_gloss.html.erb:3:in `_app_views_lexemes__gloss_html_erb__1213278057345756663_70144514642940'
app/helpers/application_helper.rb:122:in `block in list_children_with_option_to_add'
app/helpers/application_helper.rb:117:in `list_children_with_option_to_add'
app/views/senses/_shortform.html.erb:12:in `_app_views_senses__shortform_html_erb__426509430002939769_70144509040880'
app/views/lexemes/_sense.html.erb:3:in `_app_views_lexemes__sense_html_erb__3885169330483801503_70144514448840'
app/helpers/application_helper.rb:122:in `block in list_children_with_option_to_add'
app/helpers/application_helper.rb:117:in `list_children_with_option_to_add'
app/views/subentries/_shortform.html.erb:15:in `_app_views_subentries__shortform_html_erb___3968985999431956628_70144511717820'
app/views/lexemes/_subentry.html.erb:3:in `_app_views_lexemes__subentry_html_erb___2594744056024310107_70144516557340'
app/helpers/application_helper.rb:122:in `block in list_children_with_option_to_add'
app/helpers/application_helper.rb:117:in `list_children_with_option_to_add'
app/views/lexemes/_form.html.erb:12:in `block in _app_views_lexemes__form_html_erb__3865772703208526294_70144511685820'
app/views/lexemes/_form.html.erb:1:in `_app_views_lexemes__form_html_erb__3865772703208526294_70144511685820'
app/views/lexemes/edit.html.erb:3:in `_app_views_lexemes_edit_html_erb__2971956571950208870_70144516172200'
Request

Parameters:

{"locale"=>"en",
 "id"=>"3200"}
Show session dump

Show env dump

Response

Headers:

None

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions