{"id":15152476,"url":"https://github.com/dilkhush/advanced_errors_rails","last_synced_at":"2026-01-28T23:31:34.600Z","repository":{"id":56842279,"uuid":"108635438","full_name":"dilkhush/advanced_errors_rails","owner":"dilkhush","description":"Disabling the rendering of the attribute name for errors by the error_messages_for helper. Simply place a caret as the first character in the message.","archived":false,"fork":false,"pushed_at":"2022-10-22T16:33:25.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-29T15:53:10.097Z","etag":null,"topics":["error-messages","errors","rails4","rails5","ruby-gem"],"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/dilkhush.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-28T09:12:51.000Z","updated_at":"2022-10-21T13:47:48.000Z","dependencies_parsed_at":"2022-09-01T06:31:48.342Z","dependency_job_id":null,"html_url":"https://github.com/dilkhush/advanced_errors_rails","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dilkhush/advanced_errors_rails","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dilkhush%2Fadvanced_errors_rails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dilkhush%2Fadvanced_errors_rails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dilkhush%2Fadvanced_errors_rails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dilkhush%2Fadvanced_errors_rails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dilkhush","download_url":"https://codeload.github.com/dilkhush/advanced_errors_rails/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dilkhush%2Fadvanced_errors_rails/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28855111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T22:56:21.783Z","status":"ssl_error","status_checked_at":"2026-01-28T22:56:00.861Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["error-messages","errors","rails4","rails5","ruby-gem"],"created_at":"2024-09-26T16:02:19.884Z","updated_at":"2026-01-28T23:31:34.585Z","avatar_url":"https://github.com/dilkhush.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AdvancedErrorsRails\n\nExtentions to ActiveRecord's error handling features which I find useful. Support for rails 4 and rails 5\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'advanced_errors_rails'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install advanced_errors_rails\n\n## Usage\n\nAdd ^ before your active record validation message to ignore the attribute key before the message\n        \n    class User \u003c ActiveRecord::Base\n        validates_presence_of :login, message: \"^You really should have a login.\"\n        validates_presence_of :password, message: \"can't be blank.\"\n    end        \n        \n    user = User.new()\n    user.valid?\n    user.errors.full_messages # =\u003e [\"You really should have a login.\", \"Password can't be blank.\"]\n        \nSee the in first message the 'login' attribute is not added before the message here. So we can fully customize our validation messages using this.\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/[USERNAME]/advanced_errors_rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the AdvancedErrorsRails project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/advanced_errors_rails/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdilkhush%2Fadvanced_errors_rails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdilkhush%2Fadvanced_errors_rails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdilkhush%2Fadvanced_errors_rails/lists"}