Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ERROR] NoMethodError: undefined method 'months' for an instance of String #8546

Closed
gbp opened this issue Jan 20, 2025 · 0 comments · Fixed by #8547
Closed

[ERROR] NoMethodError: undefined method 'months' for an instance of String #8546

gbp opened this issue Jan 20, 2025 · 0 comments · Fixed by #8547
Assignees
Labels
bug Breaks expected functionality f:framework x:uk

Comments

@gbp
Copy link
Member

gbp commented Jan 20, 2025

When running config_files:set_reject_incoming_at_mta rake task, seeing:

NoMethodError: undefined method 'months' for an instance of String (NoMethodError)

      updated_at: ...options[:age_in_months].months.ago,
                                            ^^^^^^^
./app/models/info_request.rb:526:in) 'InfoRequest.reject_incoming_at_mta'
./lib/tasks/config_files.rake:193:in) 'block (2 levels) in <top (required)>'

@gbp gbp added bug Breaks expected functionality f:framework x:uk labels Jan 20, 2025
@gbp gbp self-assigned this Jan 20, 2025
@gbp gbp closed this as completed in fa2d23a Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Breaks expected functionality f:framework x:uk
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant