{"id":18321157,"url":"https://github.com/driftingruby/113-ruby-on-rails-5-2-0-changes-and-new-features","last_synced_at":"2025-04-09T14:31:06.505Z","repository":{"id":74217083,"uuid":"151507651","full_name":"driftingruby/113-ruby-on-rails-5-2-0-changes-and-new-features","owner":"driftingruby","description":null,"archived":false,"fork":false,"pushed_at":"2018-10-04T02:17:50.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T08:31:25.216Z","etag":null,"topics":[],"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/driftingruby.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-04T02:17:19.000Z","updated_at":"2018-10-04T02:17:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"82c052d3-02a7-42e1-8410-77f08449901c","html_url":"https://github.com/driftingruby/113-ruby-on-rails-5-2-0-changes-and-new-features","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/driftingruby%2F113-ruby-on-rails-5-2-0-changes-and-new-features","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/driftingruby%2F113-ruby-on-rails-5-2-0-changes-and-new-features/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/driftingruby%2F113-ruby-on-rails-5-2-0-changes-and-new-features/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/driftingruby%2F113-ruby-on-rails-5-2-0-changes-and-new-features/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/driftingruby","download_url":"https://codeload.github.com/driftingruby/113-ruby-on-rails-5-2-0-changes-and-new-features/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248055053,"owners_count":21040113,"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":[],"created_at":"2024-11-05T18:18:32.635Z","updated_at":"2025-04-09T14:31:06.480Z","avatar_url":"https://github.com/driftingruby.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Override policy inline\nclass PostsController \u003c ApplicationController\n  content_security_policy do |p|\n    p.upgrade_insecure_requests true\n  end\nend\n\n# Using literal values\nclass PostsController \u003c ApplicationController\n  content_security_policy do |p|\n    p.base_uri \"https://www.example.com\"\n  end\nend\n\n# Using mixed static and dynamic values\nclass PostsController \u003c ApplicationController\n  content_security_policy do |p|\n    p.base_uri :self, -\u003e { \"https://#{current_user.domain}.example.com\" }\n  end\nend\n\n\u003c%= form_with model, id: 'model' do |f| %\u003e\n\n\u003c% end %\u003e\n\nconfig.action_view.form_with_generates_ids = false\n\n2.4.2 :001 \u003e Time.new.next_year\n =\u003e 2019-01-07 20:51:11 -0500\n2.4.2 :002 \u003e Time.new.next_year(4)\n =\u003e 2022-01-07 20:51:15 -0500\n2.4.2 :003 \u003e Time.new.next_month(4)\n =\u003e 2018-05-07 20:51:29 -0400\n2.4.2 :004 \u003e Time.new.prev_month(4)\n =\u003e 2017-09-07 20:51:42 -0400\n2.4.2 :005 \u003e Time.new.prev_day(4)\n =\u003e 2018-01-03 20:51:59 -0500\n2.4.2 :006 \u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdriftingruby%2F113-ruby-on-rails-5-2-0-changes-and-new-features","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdriftingruby%2F113-ruby-on-rails-5-2-0-changes-and-new-features","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdriftingruby%2F113-ruby-on-rails-5-2-0-changes-and-new-features/lists"}