rootstrap / i18n_linter

Rails i18n Linter Gem
https://rootstrap.com
MIT License
44 stars 2 forks source link

Query string not excluded #27

Open f19ps opened 4 years ago

f19ps commented 4 years ago

The following string next to the order keyword wasn't excluded from the result.

app/models/custom_form.rb:26:37
25:    has_many :fieldsets, dependent: :destroy
26:    has_many :form_fields, -> { order 'fieldsets.position asc' }, through: :fieldsets
27:    has_many :custom_form_entries, dependent: :destroy

Since it's a query string it shouldn't be detected.