{"id":15839585,"url":"https://github.com/afeiship/nx-permit-fields","last_synced_at":"2025-04-01T16:47:00.498Z","repository":{"id":56885968,"uuid":"247524516","full_name":"afeiship/nx-permit-fields","owner":"afeiship","description":"Permit fields for rails.","archived":false,"fork":false,"pushed_at":"2020-03-15T18:40:38.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-06T08:08:54.404Z","etag":null,"topics":["exclude","fields","nx","permit"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/afeiship.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-15T18:16:39.000Z","updated_at":"2020-03-15T18:40:40.000Z","dependencies_parsed_at":"2022-08-21T00:20:54.497Z","dependency_job_id":null,"html_url":"https://github.com/afeiship/nx-permit-fields","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnx-permit-fields","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnx-permit-fields/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnx-permit-fields/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnx-permit-fields/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afeiship","download_url":"https://codeload.github.com/afeiship/nx-permit-fields/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246673598,"owners_count":20815594,"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","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":["exclude","fields","nx","permit"],"created_at":"2024-10-05T16:20:34.564Z","updated_at":"2025-04-01T16:47:00.469Z","avatar_url":"https://github.com/afeiship.png","language":"Ruby","readme":"# nx-permit-fields\n\u003e Permit fields for rails.\n\n## installation\n```rb\n# from gem\ngem 'nx-permit-fields'\n# from git\ngem 'nx-permit-fields', git: 'git@github.com:afeiship/nx-permit-fields.git'\n```\n\n## usage\n```rb\n# before: --------------------------------\n\n# [\n#     :title, \n#     :summary, \n#     :image, \n#     :douban_rate, \n#     :author, \n#     :translator, \n#     :publishing_house, \n#     :publishing_at, \n#     :ext, \n#     :catalogue, \n#     :douban_url, \n#     :image_marked, \n#     :isbn\n# ]\n\nNx::PermitFields::exclude(:post, fields:[:ext, :image_marked])\n# after:\n# [\n#     :title, \n#     :summary, \n#     :image, \n#     :douban_rate, \n#     :author, \n#     :translator, \n#     :publishing_house, \n#     :publishing_at, \n#     :catalogue, \n#     :douban_url, \n#     :isbn\n# ]\n```\n\n## build/publish\n```shell\n# build\ngem build nx-permit-fields.gemspec\n\n# publish\ngem push nx-permit-fields-0.1.0.gem\n```\n\n## resources\n- https://stackoverflow.com/questions/1235593/ruby-symbol-to-class","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fnx-permit-fields","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafeiship%2Fnx-permit-fields","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fnx-permit-fields/lists"}