{"id":14955613,"url":"https://github.com/koic/everlasting","last_synced_at":"2025-10-08T18:01:20.714Z","repository":{"id":56845052,"uuid":"93617933","full_name":"koic/everlasting","owner":"koic","description":"Enhance the behavior of Hash in the behavior of ActionController::Parameters.","archived":false,"fork":false,"pushed_at":"2019-03-21T07:27:53.000Z","size":18,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-05T12:02:05.738Z","etag":null,"topics":["actioncontroller","logging","parameters","rails","rails5"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/koic.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-07T09:34:47.000Z","updated_at":"2019-03-21T07:27:54.000Z","dependencies_parsed_at":"2022-09-08T10:50:46.828Z","dependency_job_id":null,"html_url":"https://github.com/koic/everlasting","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/koic/everlasting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koic%2Feverlasting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koic%2Feverlasting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koic%2Feverlasting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koic%2Feverlasting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koic","download_url":"https://codeload.github.com/koic/everlasting/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koic%2Feverlasting/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278811844,"owners_count":26050181,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actioncontroller","logging","parameters","rails","rails5"],"created_at":"2024-09-24T13:11:27.079Z","updated_at":"2025-10-08T18:01:20.695Z","avatar_url":"https://github.com/koic.png","language":"Ruby","readme":"# Everlasting [![Build Status](https://travis-ci.org/koic/everlasting.svg)](https://travis-ci.org/koic/everlasting) [![Gem Version](https://badge.fury.io/rb/everlasting.svg)](http://badge.fury.io/rb/everlasting)\n\nEnhance the behavior of Hash in the behavior of ActionController::Parameters.\n\nActionController::Parameters does not inherit Hash since Rails 5.0. This Gem will never cause an error even if you call Hash's method on ActionController::Parameters.\n\nThe aim of this Gem is to detect a Hash method calls to ActionController::Parameters without causing errors.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngroup :production do\n  gem 'everlasting'\nend\n```\n\n:star2: __Recommend you to enable it only in production environment. In other environments it is to detect errors with fail fast.__\n\nAnd then execute:\n\n```console\n$ bundle install\n```\n\n## Support version\n\n- Ruby 2.2.2 or higher.\n- Rails 5 or higher.\n\n## About behavior\n\nIt is a comparison of behavior when using this Gem and when not using it.\n\n### Plain Rails 5 application (Without this Gem)\n\n```ruby\nparams.symbolize_keys # =\u003e NoMethodError: undefined method `symbolize_keys' for #\u003cActionController::Parameters:0x00007ffd92632f30\u003e\n```\n\n### Rails 5 application with this Gem\n\n```ruby\nparams.symbolize_keys # =\u003e It outputs exception information to Rails.logger.error without error\n```\n\nIt will output to the Rails log together with the backtrace as follows.\n\n```console\nThe Everlasting Gem detected a method that ActionController::Parameters does not know.\nActionController::Parameters does not inherit Hash since Rails 5.0.\nUse `params.to_h.symbolize_keys' instead of `params.symbolize_keys'.\n\n---backtrace---\n\n(snip)\n\nbin/rails:8:in `require'\nbin/rails:8:in `\u003cmain\u003e'\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/koic/everlasting.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoic%2Feverlasting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoic%2Feverlasting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoic%2Feverlasting/lists"}